AEM 6.0 - Garbage collection on a shared filedatastore | Community
Skip to main content
October 16, 2015
Solved

AEM 6.0 - Garbage collection on a shared filedatastore

  • October 16, 2015
  • 2 replies
  • 735 views

How do you go about garbage collecting on a shared datastore?  I have run startDataStoreGC() from Repository Manager in JMX, which starts the MarkSweepGarbageCollector.  But this seems to mark and sweep in one operation, with no option to delay the deletion?

 

I am accustomed to the CQ5 approach of running the collection process non-destructively from each instance, and manually removing older files from the filesystem.  But the current mark process also appears to no longer update the file timestamps.

 

On the same note, is it possible to verify all referenced DS files exist, as with the CRX DS Consistency Check in CQ5?

 


I have a fresh install of a CQ 6.0 instance, configured to use FileDataStore per http://docs.adobe.com/docs/en/aem/6-0/deploy/upgrade/data-store-config.html#File%20Data%20Store .  And Hotfix 4642 is installed.

Thanks.

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 Sham_HC

please File daycare for this.

2 replies

Sham_HC
Sham_HCAccepted solution
Level 10
October 16, 2015

please File daycare for this.

October 16, 2015

Garbage collection on a shared datastore appears to be unsupported currently in AEM6*, but there is reason to believe it may be an option again at some point:

https://issues.apache.org/jira/browse/OAK-1849

*for a fresh install.  Still supported if upgrading from an older version.