Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-2216

Move operation on cluster causes InvalidItemStateException exception


    There is initial content - many nodes under one root node. This content gets moved from one root node into another root by concurrent threads - one thread opens one session, takes one child and perform one move operation. It appears that this setup can cause InvalidItemStateException.

    Caused by: javax.jcr.InvalidItemStateException: This session tried to save changes to node with key 'Cannot locate child node: 4c24b267505d649a2c9bcd-b65b-494b-a15d-e791d40f6ac4 within parent: 4c24b267505d64df01b090-ef0d-4e4e-b80a-b52a832c988a', but it was removed by another session.

    See full log in attachment.

    Please note that this exception is floating and looks like depends on hardware load.

      1. MODE-2216.log
        948 kB
        evgeniy shevchenko

          hchiorean Horia Chiorean (Inactive)
          eshevchenko_jira evgeniy shevchenko (Inactive)
          2 Vote for this issue
          4 Start watching this issue