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 "Marcel Reutegger (Jira)" <ji...@apache.org> on 2022/01/06 15:48:00 UTC

[jira] [Created] (OAK-9656) Recovery runs mistakenly when system clock jumps ahead

Marcel Reutegger created OAK-9656:
-------------------------------------

             Summary: Recovery runs mistakenly when system clock jumps ahead
                 Key: OAK-9656
                 URL: https://issues.apache.org/jira/browse/OAK-9656
             Project: Jackrabbit Oak
          Issue Type: Bug
          Components: documentmk
            Reporter: Marcel Reutegger
            Assignee: Marcel Reutegger


Recovery may run mistakenly for other clusterIds when the system clock on one DocumentNodeStore jumps ahead. This is because from the DocumentNodeStore point of view/time the other clusterIds lease appear expired.

The current implementation attempts to run recovery and fails because it eventually notices its own lease expired. It appears other clusterIds are modified anyway and then fail the next lease update because the leaseEnd does not match the expected value.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)