Timothee Maret created OAK-5029:
-----------------------------------

             Summary: Use head GC generation number to trigger cleanup on 
standby instance 
                 Key: OAK-5029
                 URL: https://issues.apache.org/jira/browse/OAK-5029
             Project: Jackrabbit Oak
          Issue Type: Improvement
          Components: segment-tar
    Affects Versions: Segment Tar 0.0.16
            Reporter: Timothee Maret
            Assignee: Timothee Maret


With {{oak-segment-tar}}, the trigger for running {{cleanup}} on the standby 
instance could be determined by the GC generation number of the head which is 
bound to increase every time a cleanup is ran.
{code}
fileStore.getHead().getRecordId().getSegment().getGcGeneration();
{code}




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to