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

NodeNotFoundInParentException when using OPTIMISTIC locking and multiple transactions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 4.3.0.Final
    • JCR
    • None

      After updating from 4.2 to 4.3/4.4-SNAPSHOT we are getting NodeNotFoundInParentException when creating multiple nodes in multiple transactions (UserTransaction) at the same time.

      After that the repository stays broken even after a restart. Trying to access a certain node via id always results in the mentioned Exeption being thrown.

      This is only happeneing when using OPTIMISTIC locking in infinispan config.
      Up to the 4.2 version of modeshape / infinispan 6 this was working fine.

      So I guess it has something to do with infinispan 7 update / how modeshape is using it.

      Currently (as I don't have time to debug if further) we switched to PESSIMISTIC.

      But it would be nice if we could use OPTIMISTIC again because it has slightly better performance.

              Unassigned Unassigned
              bes82 Bjoern Schmidt (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: