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 2018/07/18 14:53:00 UTC

[jira] [Commented] (OAK-7640) Prevent commits in the past

    [ https://issues.apache.org/jira/browse/OAK-7640?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16547923#comment-16547923 ] 

Marcel Reutegger commented on OAK-7640:
---------------------------------------

Proposed changes are here: https://github.com/apache/jackrabbit-oak/compare/trunk...mreutegg:OAK-7640

The DocumentNodeStore refuses to start when the lastRev timestamp of the current cluster node is newer than the current time.

> Prevent commits in the past
> ---------------------------
>
>                 Key: OAK-7640
>                 URL: https://issues.apache.org/jira/browse/OAK-7640
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: documentmk
>            Reporter: Marcel Reutegger
>            Assignee: Marcel Reutegger
>            Priority: Minor
>              Labels: resilience
>             Fix For: 1.10
>
>
> This is similar to OAK-3883, but must prevent commits with revisions that are older than already present in the repository. At runtime, this is already taken care of with static fields in the Revision class, but on startup the clock may have jumped into the past since Oak was stopped.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)