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

Akihiro Suda commented on ZOOKEEPER-2246:
-----------------------------------------

Hi [~pmvmware], +1 for your great patch.

Unfortunately I can still hit ZOOKEEPER-2080 with your patch.

I consider this is because the socket is still uninterruptible, and 
{{java.nio.channels.SocketChannel}} (which is interruptible) looks better than 
plain old {{java.net.Socket}}.

If you have a different opinion about interruption handling, please let me know.

Thanks

> quorum connection manager takes a long time to shut down
> --------------------------------------------------------
>
>                 Key: ZOOKEEPER-2246
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2246
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: quorum
>            Reporter: Michi Mutsuzaki
>             Fix For: 3.5.2, 3.6.0
>
>         Attachments: 
> 0001-ZOOKEEPER-2246-quorum-connection-manager-takes-a-lon.patch
>
>
> Receive worker can take a long time to shut down because the socket timeout 
> is set to zero: http://s.apache.org/TfI
> There was a discussion on the mailing list a while back: 
> http://s.apache.org/cYG



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to