You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Manfred Baedke (JIRA)" <ji...@apache.org> on 2014/09/19 11:00:39 UTC

[jira] [Created] (OAK-2113) TarMK cold standby: ensure client integrity

Manfred Baedke created OAK-2113:
-----------------------------------

             Summary: TarMK cold standby: ensure client integrity 
                 Key: OAK-2113
                 URL: https://issues.apache.org/jira/browse/OAK-2113
             Project: Jackrabbit Oak
          Issue Type: Improvement
          Components: segmentmk
            Reporter: Manfred Baedke
            Priority: Minor


TarMK cold standby needs measures to ensure the integrity of each segment on the slave and that all segments that are reachable on the master from a given segment are available on the slave.
To ensure the integrity of a given segment on the slave, we can just use the checksum stored in the segment, so there is no need to change the communication protocol for this.
To ensure that all segments that are reachable from a given segment are the same on the master and on the slave, we need a new request to calculate a suitable checksum on the master and send it back to the slave.
If missing or broken segments are detected, the slave will pull them from the master again. 
Both measures combined should be scheduled to run regularly. 



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