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.