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 2019/05/28 08:33:00 UTC

[jira] [Created] (OAK-8353) Additional test for OAK-8012

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)