QuestionQ18

Performance Optimization and Troubleshooting

A DevOps engineer observes that Online Revision Garbage Collection is not running as part of the daily maintenance tasks.

After reviewing the server error log, the following appears during the maintenance schedule:

> "Revision GC will not run: Size delta is N% or N/N (N/N bytes), so skipping compaction for now"

The DevOps engineer must ensure that revision garbage collection runs during the scheduled maintenance task. What additional action should the DevOps engineer take?

  • A Set full compaction schedule property for com.adobe.granite.maintenance.crx.impl.RevisionCleanupTask to a preferred day
  • B Disable the estimation phase in the Apache Jackrabbit Oak Segment-Tar NodeStore Factory
  • C Invoke startRevisionGC() for SegmentRevisionGarbageCollectionmbean in the JMX console
Explanation

Online Revision Cleanup uses an estimation phase to decide whether sufficient garbage exists for compaction. The stated size-delta message means that this phase skipped compaction. Disabling estimation in the Apache Jackrabbit Oak Segment-Tar NodeStore Factory allows Revision GC to run on every scheduled execution.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!