AEM External Datastore Garbage Collection based on TarMK

Garbage collection on the external datastore deletes deleted objects from the datastore. This task should be done ​after Revision GC maintenance is done.

TarMK-based instancesđŸ‘‡
On tarMK-based AEM instances with a shared external datastore, one must run the garbage collection in a very specific way to avoid problems: 

1. on ​each instance sharing the datastore
  • go to http://AEM-INSTANCE:AEM PORT/system/console/jmx/org.apache.jackrabbit.oak%3Aname%3
  • Drepository+manager%2Ctype%3DRepositoryManagement
  • click on ​startDatastoreGC 
  • Set the ​markOnly​ field set to ​false 
  • click on Invoke 
2. once the above is done on ​all instances, on o​nly a single AEM instance run the startDatastoreGCmbean again but with the markOnly field set to ​true.

Comments

Popular Posts