Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-5190

store/rollForwardRecovery.sql stuck in RAFContainer4.writePage() during shutdown

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 10.9.1.0
    • None
    • Store
    • None

    Description

      Saw store/rollForwardRecovery.sql hanging during shutdown with this trace:

      "main" prio=10 tid=0x00007f9f0c009000 nid=0x571 in Object.wait() [0x00007f9f123eb000]
      java.lang.Thread.State: WAITING (on object monitor)
      at java.lang.Object.wait(Native Method)

      • waiting on <0x00007f9ee3eccf58> (a java.lang.Object)
        at java.lang.Object.wait(Object.java:502)
        at org.apache.derby.impl.store.raw.data.RAFContainer4.writePage(Unknown Source)
      • locked <0x00007f9ee3eccf58> (a java.lang.Object)
        at org.apache.derby.impl.store.raw.data.CachedPage.writePage(Unknown Source)
        at org.apache.derby.impl.store.raw.data.CachedPage.clean(Unknown Source)
        at org.apache.derby.impl.services.cache.ConcurrentCache.cleanAndUnkeepEntry(Unknown Source)
        at org.apache.derby.impl.services.cache.ConcurrentCache.cleanCache(Unknown Source)
        at org.apache.derby.impl.services.cache.ConcurrentCache.cleanAll(Unknown Source)
        at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.checkpoint(Unknown Source)
        at org.apache.derby.impl.store.raw.log.LogToFile.checkpointWithTran(Unknown Source)
        at org.apache.derby.impl.store.raw.log.LogToFile.checkpoint(Unknown Source)
        at org.apache.derby.impl.store.raw.RawStore.stop(Unknown Source)
        at org.apache.derby.impl.services.monitor.TopService.stop(Unknown Source)
        at org.apache.derby.impl.services.monitor.TopService.shutdown(Unknown Source)
        at org.apache.derby.impl.services.monitor.BaseMonitor.shutdown(Unknown Source)
        at org.apache.derby.impl.services.monitor.BaseMonitor.shutdown(Unknown Source)
        at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source)
        at org.apache.derby.jdbc.AutoloadedDriver.connect(Unknown Source)
        at java.sql.DriverManager.getConnection(DriverManager.java:620)
        at java.sql.DriverManager.getConnection(DriverManager.java:222)
        at org.apache.derby.impl.tools.ij.utilMain.cleanupGo(Unknown Source)
        at org.apache.derby.impl.tools.ij.utilMain.go(Unknown Source)
        at org.apache.derby.impl.tools.ij.Main.go(Unknown Source)
        at org.apache.derby.impl.tools.ij.Main.mainCore(Unknown Source)
        at org.apache.derby.impl.tools.ij.Main.main(Unknown Source)
        at org.apache.derby.tools.ij.main(Unknown Source)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              knutanders Knut Anders Hatlen
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: