Derby
  1. Derby
  2. DERBY-5312

InterruptResilienceTest failed with ERROR 40XD1: Container was opened in read-only mode.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 10.9.1.0
    • Fix Version/s: 10.8.2.2, 10.9.1.0
    • Component/s: Store
    • Labels:
      None
    • Environment:
      Oracle Solaris 11 Express snv_151a X86
      java version "1.7.0"
      Java(TM) SE Runtime Environment (build 1.7.0-b147)
      Java HotSpot(TM) Server VM (build 21.0-b17, mixed mode)
    • Bug behavior facts:
      Regression Test Failure

      Description

      WorkerThread failed with this exception:

      ERROR 40XD1: Container was opened in read-only mode.
      at org.apache.derby.iapi.error.StandardException.newException(StandardException.java:276)
      at org.apache.derby.impl.store.raw.data.BaseContainer.use(BaseContainer.java:562)
      at org.apache.derby.impl.store.raw.data.BaseContainerHandle.useContainer(BaseContainerHandle.java:834)
      at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.openContainer(BaseDataFileFactory.java:773)
      at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.openContainer(BaseDataFileFactory.java:589)
      at org.apache.derby.impl.store.raw.xact.Xact.openContainer(Xact.java:1316)
      at org.apache.derby.impl.store.access.btree.OpenBTree.init(OpenBTree.java:382)
      at org.apache.derby.impl.store.access.btree.BTreeController.init(BTreeController.java:1225)
      at org.apache.derby.impl.store.access.btree.index.B2IController.init(B2IController.java:140)
      at org.apache.derby.impl.store.access.btree.index.B2I.open(B2I.java:824)
      at org.apache.derby.impl.store.access.RAMTransaction.openConglomerate(RAMTransaction.java:476)
      at org.apache.derby.impl.store.access.RAMTransaction.openCompiledConglomerate(RAMTransaction.java:1293)
      at org.apache.derby.impl.sql.execute.IndexChanger.openIndexCC(IndexChanger.java:507)
      at org.apache.derby.impl.sql.execute.IndexChanger.insertAndCheckDups(IndexChanger.java:438)
      at org.apache.derby.impl.sql.execute.IndexChanger.doInsert(IndexChanger.java:383)
      at org.apache.derby.impl.sql.execute.IndexChanger.insert(IndexChanger.java:590)
      at org.apache.derby.impl.sql.execute.IndexSetChanger.insert(IndexSetChanger.java:268)
      at org.apache.derby.impl.sql.execute.RowChangerImpl.insertRow(RowChangerImpl.java:453)
      at org.apache.derby.impl.sql.execute.InsertResultSet.normalInsertCore(InsertResultSet.java:999)
      at org.apache.derby.impl.sql.execute.InsertResultSet.open(InsertResultSet.java:519)
      at org.apache.derby.impl.sql.GenericPreparedStatement.executeStmt(GenericPreparedStatement.java:436)
      at org.apache.derby.impl.sql.GenericPreparedStatement.execute(GenericPreparedStatement.java:317)
      at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(EmbedStatement.java:1242)
      at org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(EmbedPreparedStatement.java:1686)
      at org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeUpdate(EmbedPreparedStatement.java:308)
      at org.apache.derbyTesting.functionTests.tests.store.InterruptResilienceTest$WorkerThread.run(InterruptResilienceTest.java:449)

      I was testing a patch for DERBY-4620 (estimate-sizes.diff), but I think the failure isn't related to those changes.

      1. error-stacktrace.out
        10 kB
        Knut Anders Hatlen
      2. derby-5312-simplify-reopen-1.stat
        0.1 kB
        Dag H. Wanvik
      3. derby-5312-simplify-reopen-1.diff
        10 kB
        Dag H. Wanvik
      4. derby-5312a.diff
        1 kB
        Dag H. Wanvik
      5. derby.log
        1.92 MB
        Knut Anders Hatlen

        Issue Links

          Activity

          Knut Anders Hatlen created issue -
          Knut Anders Hatlen made changes -
          Field Original Value New Value
          Attachment derby.log [ 12485277 ]
          Attachment error-stacktrace.out [ 12485278 ]
          Dag H. Wanvik made changes -
          Assignee Dag H. Wanvik [ dagw ]
          Dag H. Wanvik made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Dag H. Wanvik made changes -
          Attachment derby-5312a.diff [ 12486223 ]
          Dag H. Wanvik made changes -
          Issue & fix info [Patch Available]
          Dag H. Wanvik made changes -
          Attachment derby-5312-simplify-reopen-1.diff [ 12486453 ]
          Attachment derby-5312-simplify-reopen-1.stat [ 12486454 ]
          Dag H. Wanvik made changes -
          Status In Progress [ 3 ] Resolved [ 5 ]
          Issue & fix info [Patch Available]
          Fix Version/s 10.9.0.0 [ 12316344 ]
          Resolution Fixed [ 1 ]
          Dag H. Wanvik made changes -
          Link This issue is part of DERBY-4741 [ DERBY-4741 ]
          Dag H. Wanvik made changes -
          Fix Version/s 10.8.1.6 [ 12316676 ]
          Knut Anders Hatlen made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Myrna van Lunteren made changes -
          Fix Version/s 10.8.2.0 [ 12317955 ]
          Fix Version/s 10.8.1.6 [ 12316676 ]
          Myrna van Lunteren made changes -
          Fix Version/s 10.8.2.2 [ 12317968 ]
          Fix Version/s 10.8.2.0 [ 12317955 ]
          Gavin made changes -
          Workflow jira [ 12619170 ] Default workflow, editable Closed status [ 12801156 ]

            People

            • Assignee:
              Dag H. Wanvik
              Reporter:
              Knut Anders Hatlen
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development