Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-21491

Fix error during concurrent move and getChildren calls on DBS

    XMLWordPrintable

    Details

      Description

      On DBS in some circumstances doing concurrently a move and a call to getChildren may lead to:

      java.lang.IllegalStateException: Already transient: 16ffa8de-cdee-43f1-9c2c-babe073e0404
      	at org.nuxeo.ecm.core.storage.dbs.DBSTransactionState.newTransientState(DBSTransactionState.java:140)
      	at org.nuxeo.ecm.core.storage.dbs.DBSTransactionState.getChildrenStates(DBSTransactionState.java:261)
      	at org.nuxeo.ecm.core.storage.dbs.DBSSession.getChildren(DBSSession.java:330)
      	at org.nuxeo.ecm.core.storage.dbs.DBSDocument.getChildren(DBSDocument.java:315)
      	at org.nuxeo.ecm.core.api.AbstractSession.getChildren(AbstractSession.java:862)
      	at org.nuxeo.ecm.core.api.AbstractSession.getChildren(AbstractSession.java:836)
      

      This is a regression caused by NXP-21019.

        Attachments

        1. log-ok.txt
          1.66 MB
        2. log-bad.txt
          1.82 MB

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 4 hours
                  4h