[
https://issues.apache.org/jira/browse/ZOOKEEPER-2246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14694804#comment-14694804
]
Rakesh R commented on ZOOKEEPER-2246:
-------------------------------------
Yes, a timeout of zero is interpreted as an infinite timeout. I'm not seeing
any specific reason for waiting infinitely. IMHO, timeout could be
{{self.tickTime * self.syncLimit}} similar to SendWorker thread.
{code}
// OK to wait until socket disconnects while reading.
sock.setSoTimeout(0);
{code}
> 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
>
>
> 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)