[
https://issues.apache.org/jira/browse/DERBY-3447?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12579160#action_12579160
]
V.Narayanan commented on DERBY-3447:
------------------------------------
When I found out about Derby-3451 I was thinking why the quit without
starting replication does not seem to hang. I found out that it does not
hang because the other threads used in derby are Daemon threads .
see BaseMonitor#getDaemonThread (line no 2080)
relevant lines
Thread t = new Thread(daemonGroup, task, "derby.".concat(name));
t.setDaemon(true);
found "The Java Virtual Machine exits when the only threads running are all
daemon threads."
here
http://java.sun.com/j2se/1.3/docs/api/java/lang/Thread.html#setDaemon(boolean)
> Shutdown on a database without stopping replication hangs
> ---------------------------------------------------------
>
> Key: DERBY-3447
> URL: https://issues.apache.org/jira/browse/DERBY-3447
> Project: Derby
> Issue Type: Bug
> Components: Replication
> Affects Versions: 10.4.0.0
> Reporter: V.Narayanan
> Assignee: V.Narayanan
> Attachments: Derby3447_v1.diff, Derby3447_v1.stat, Derby3447_v2.diff,
> Derby3447_v2.stat
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.