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

Some rawStoreDaemon threads are not stopped

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Cannot Reproduce
    • 10.1.2.1, 10.2.1.6
    • None
    • Services
    • Solaris 10 x86, NetBSD 2.1 (x86), Sun JDK 1.4.2/1.5.0
    • Normal

    Description

      In some cases, loading a database will create a rawStoreDaemon thread
      which will run forever, even after Derby is shut down with
      DriverManager.getConnection("jdbc:derby:;shutdown=true").

      I have found two tests in derbyall (there are probably more) where
      threads are left running:

      • in store/rollForwardBackup.sql two threads are never terminated
      • in store/encryptDatabase.sql five threads are never terminated

      All the threads are named "derby.rawStoreDaemon" and created in
      org.apache.derby.impl.store.raw.RawStore.boot().

      It seems like this happens in some (but not all) cases where the
      loading of a database fails, but I am not able to say exactly what
      triggers this bug yet.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: