Marcel Reutegger created OAK-8353:
-------------------------------------

             Summary: Additional test for OAK-8012
                 Key: OAK-8353
                 URL: https://issues.apache.org/jira/browse/OAK-8353
             Project: Jackrabbit Oak
          Issue Type: Test
          Components: documentmk
            Reporter: Marcel Reutegger
            Assignee: Marcel Reutegger


It turns out the issue described in OAK-8012 may also happen without a restart. 
An incorrect read may happen when the orphaned branch clean up kicks in. There 
is a race condition in the code before OAK-8012 changes. The read may check the 
state of an orphaned branch and doesn't see it in the {{UnmergedBranches}} map 
while it is still visible in the DocumentStore.

This issue is about an additional test to verify OAK-8012 also fixes this 
situation.



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

Reply via email to