Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

AEM 6.0 - Garbage collection on a shared filedatastore

Avatar

Level 1

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.

1 Accepted Solution

Avatar

Correct answer by
Level 10

please File daycare for this.

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

please File daycare for this.

Avatar

Level 1

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.