Marcel Reutegger created OAK-1692:
-------------------------------------

             Summary: Document split may drop revisions
                 Key: OAK-1692
                 URL: https://issues.apache.org/jira/browse/OAK-1692
             Project: Jackrabbit Oak
          Issue Type: Bug
          Components: core, mongomk
    Affects Versions: 0.20
            Reporter: Marcel Reutegger
            Assignee: Marcel Reutegger
            Priority: Blocker
             Fix For: 1.0


The document split logic may drop revisions under a certain condition. It 
happens when a document has:

- enough revision to attempt a split, but the size of the split off document is 
too low compared to the main document.

AND

- ten previous documents at the same height to introduce another intermediate 
document of height+1.

The split logic will then remove revisions from the main document but fails to 
create a previous document for them.

This is a regression caused by OAK-1342.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to