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

Repository is corrupt after concurrent changes with the same session

    XMLWordPrintableJSON

Details

    Description

      After concurrent write operations using the same session, the repository can get corrupt, meaning a ItemNotFoundException is thrown when trying to remove a node.

      Concurrent write operations are not supported, however I believe the persistent state of the repository should not be get corrupt.

      One way to solve this problem is to synchronize on the session internally.

      Attachments

        1. patch-2456.txt
          7 kB
          Thomas Mueller
        2. patch-2456-1.5.txt
          6 kB
          Bart van der Schans
        3. patch-2456-b.txt
          7 kB
          Thomas Mueller
        4. patch-2456-b-1.6.txt
          6 kB
          Bart van der Schans
        5. TestMultiThread.java
          3 kB
          Thomas Mueller

        Activity

          People

            thomasm Thomas Mueller
            thomasm Thomas Mueller
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: