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

Child node not found under high concurrency when eviction is enabled

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Done
    • Affects Version/s: 4.0.0.Alpha4, 3.8.1.Final
    • Fix Version/s: 4.3.0.Final
    • Component/s: JCR
    • Labels:
      None

      Description

      When running the ConcurrentNodeLoadTest will occasionally produce an exception like the following, and the test will fail:

      javax.jcr.PathNotFoundException: No node exists at path '/customers/aaa/aaa0b380-d0c0-4d9a-9f10-d2c9cc3c4d59' in workspace "load"
      	at org.modeshape.jcr.JcrSession.cachedNode(JcrSession.java:614)
      	at org.modeshape.jcr.JcrSession.node(JcrSession.java:646)
      	at org.modeshape.jcr.JcrSession.node(JcrSession.java:665)
      	at org.modeshape.jcr.JcrSession.getNode(JcrSession.java:849)
      	at org.modeshape.jcr.JcrSession.getNode(JcrSession.java:832)
      	at org.modeshape.jcr.JcrSession.getNode(JcrSession.java:125)
      	at org.modeshape.jcr.ConcurrentNodeLoadTest.addContentToCustomer(ConcurrentNodeLoadTest.java:239)
      	at org.modeshape.jcr.ConcurrentNodeLoadTest$CustomerModifier.call(ConcurrentNodeLoadTest.java:212)
      	at org.modeshape.jcr.ConcurrentNodeLoadTest$CustomerModifier.call(ConcurrentNodeLoadTest.java:193)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      	at java.lang.Thread.run(Thread.java:724)
      Saving  batch 80
      

      We need to investigate why this occurs and find a fix.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  rhauch Randall Hauch
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  7 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: