Derby
  1. Derby
  2. DERBY-594

Some rawStoreDaemon threads are not stopped

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: 10.1.2.1, 10.2.1.6
    • Fix Version/s: None
    • Component/s: Services
    • Environment:
      Solaris 10 x86, NetBSD 2.1 (x86), Sun JDK 1.4.2/1.5.0
    • Urgency:
      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.

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Knut Anders Hatlen
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development