[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-4804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17815563#comment-17815563
 ] 

Istvan Toth commented on ZOOKEEPER-4804:
----------------------------------------

FYI [~andor].

> Use daemon threads for Netty client
> -----------------------------------
>
>                 Key: ZOOKEEPER-4804
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-4804
>             Project: ZooKeeper
>          Issue Type: Bug
>    Affects Versions: 3.8.3
>            Reporter: Istvan Toth
>            Priority: Major
>
> When the Netty client is used, the Java process hangs on System.exit if there 
> is an open Zookeeper connection.
> This is caused by the non-daemon threads created by Netty.
> Exiting without closing the connection is not a good practice, but this hang 
> does not happen with the NIO client, and I think ZK should behave the same 
> regardless of the client implementation used.
> The Netty ThreadFactory implementation is configurable, it shouldn't be too 
> hard make sure that daemon threads are created.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to