Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-3016

inconsistent repository after overlapping node add operations

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.2.8
    • jackrabbit-core
    • None

    Description

      It seems I can reproduce a sequence of operations that cause the repository to be inconsistent.

      The short version: 2 sessions add a same-named child node to the same parent folder (not allowing same-name-siblings). Session 1's save() succeeds. Session 2's save() fails, but succeeds on retry .

      After the operation, the child node created by session 1 is still present, but the parent doesn't list it as child node anymore.

      (will add test case)

      Attachments

        1. OverlappingNodeAddTest.java
          4 kB
          Julian Reschke
        2. OverlappingNodeAddTest.diff
          4 kB
          Julian Reschke

        Activity

          People

            stefan@jira Stefan Guggisberg
            reschke Julian Reschke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: