Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-6976

CopyOnWriteDirectory_Segment_Test failure

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 1.4.18
    • None
    • lucene
    • None

    Description

      This test only exists in branches 1.4 and older and was introduced as part of OAK-5238. The test fails every now and then with (stack trace from 1.4):

      java.lang.IllegalStateException: This builder does not exist: child-0
      	at com.google.common.base.Preconditions.checkState(Preconditions.java:150)
      	at org.apache.jackrabbit.oak.plugins.memory.MemoryNodeBuilder.setProperty(MemoryNodeBuilder.java:506)
      	at org.apache.jackrabbit.oak.plugins.memory.MemoryNodeBuilder.setProperty(MemoryNodeBuilder.java:515)
      	at org.apache.jackrabbit.oak.plugins.index.lucene.CopyOnWriteDirectory_Segment_Test.writeTree(CopyOnWriteDirectory_Segment_Test.java:158)
      	at org.apache.jackrabbit.oak.plugins.index.lucene.CopyOnWriteDirectory_Segment_Test.copyOnWrite(CopyOnWriteDirectory_Segment_Test.java:111)
      

      Please note that it fails more likely when the update.limit is set to 100, which is the case for the maven build.

      I also ported the test to 1.6 and running it with the new segment-tar looks OK. I don't know if this is because the copy-on-write or the segment-tar implementation is different than in 1.4.

      The affected versions are currently only set to 1.4.18, because there were no releases off the 1.2 and 1.0 branches since OAK-5238 was backported.

      Attachments

        Issue Links

          Activity

            People

              chetanm Chetan Mehrotra
              mreutegg Marcel Reutegger
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: