Revision GC not found for crx3mongo runmodes - AEM 6.5 | Community
Skip to main content
Level 2
February 15, 2021
Solved

Revision GC not found for crx3mongo runmodes - AEM 6.5

  • February 15, 2021
  • 2 replies
  • 747 views

Hi ,

 

We recently updated from AEM 6.3 to 6.5.5 . 

 

Post Upgrade we see that Revision GC option is not coming in Operations / Maintenace Dashboard.

 

On further investigation,  we saw that below property is set

/libs/settings/granite/operations/maintenance/granite_daily/granite_RevisionGC

granite.operations.condition.runmode =  !crx3mongo 

 

We are using MongoDocumentNodestore with runmode author,crx3,crx3mongo

 

This was working fine and used to run daily in AEM 6.3. 

For ex :

16.01.2021 13:04:09.859 *INFO* [sling-oak-observation-1105] org.apache.jackrabbit.oak.plugins.document.VersionGarbageCollector Starting revision garbage collection. Revisions older than [2021-01-15 13:04:09.859] will beremoved
16.01.2021 13:12:34.693 *INFO* [sling-oak-observation-1105] org.apache.jackrabbit.oak.plugins.document.VersionGarbageCollector Revision garbage collection finished in 8.414 min.VersionGCStats{ignoredGCDueToCheckPoint=false, canceled=false, deletedDocGCCount=67242, splitDocGCCount=1018, intermediateSplitDocGCCount=87, timeToCollectDeletedDocs=8.246 min, timeToSortDocIds=101.2 ms, timeTakenToDeleteDeletedDocs=8.638 s, timeTakenToCollectAndDeleteSplitDocs=1.318 s}

 

If we remove the !crx3mongo -property value the Revision GC task is shown in Maintenance Dashboard.

Any idea why Revision GC is disabled for crx3mongo runmodes  in AEM 6.5  OOTB? It's not feasible to go to jmx and run daily.

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by joerghoh

IIRC this job has been removed and replaced by an ongoing Revision cleanup, which does not need to be scheduled anymore.

But please double-check with Adobe support, as Arun suggested.

2 replies

arunpatidar
Community Advisor
Community Advisor
February 16, 2021

Hi,

I would suggest opening a daycare ticket help here, to get info about internal implementation.

Arun Patidar
joerghoh
Adobe Employee
joerghohAdobe EmployeeAccepted solution
Adobe Employee
February 20, 2021

IIRC this job has been removed and replaced by an ongoing Revision cleanup, which does not need to be scheduled anymore.

But please double-check with Adobe support, as Arun suggested.