Marcel Reutegger created OAK-1274:
-------------------------------------

             Summary: Wrong comparison for old Revisions
                 Key: OAK-1274
                 URL: https://issues.apache.org/jira/browse/OAK-1274
             Project: Jackrabbit Oak
          Issue Type: Bug
          Components: core, mongomk
    Affects Versions: 0.13
            Reporter: Marcel Reutegger
            Priority: Minor


Comparing revisions may return wrong results when one of the revision is older 
than the oldest revision range kept in the RevisionComparator.

There are multiple reasons why there is no revision range for a revision.

- The revision was created more than an hour ago and the associated range was 
purged from the RevisionComparator. This happens in the background thread of 
MongoNodeStore with a threshold of one hour.
- The revision isn't actually that old, but still included in a range of the 
RevisionComparator because the MongoNodeStore instance was just initialized and 
only has ranges for recent revisions but not for those before the init.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Reply via email to