I am executing DataStore Garbage Collection job weekly and it is always failing.
I checked repository , datastore and segmentstore both are consistent. No error in repository check.
But what could be the reason of failing DataStore Garbage Collection . i am using AEM 6.4
Data Store Garbage collection weekly maintenance Job internally executes the task - startDataStoreGC from Repository Manager MBean.
Can you try to trigger the same from JMX console in your instance and see if the task returns any related message for debugging further.
Try to trigger manually once from Weekly Maintenance console. Before triggering
What error do you see in AEM error.log when DSGC gets completed? Can you start this job manually from operation dashboard, tail the error.log and share with us? Logs can pinpoint to possible cause/problem leading to this failure.