[ https://issues.apache.org/jira/browse/ZOOKEEPER-1756?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13789484#comment-13789484 ]
Eric Lindvall commented on ZOOKEEPER-1756: ------------------------------------------ The only way I was able to repro it was with a test-harness I wrote to replication network failures, and only was able to identify the problem by an excess of log messages. Here's the code I had used: https://github.com/zk-ruby/zookeeper/blob/master/zoomonkey/zoomonkey.rb > zookeeper_interest() in C client can return a timeval of 0 > ---------------------------------------------------------- > > Key: ZOOKEEPER-1756 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1756 > Project: ZooKeeper > Issue Type: Bug > Components: c client > Affects Versions: 3.3.4, 3.4.5 > Reporter: Eric Lindvall > Assignee: Eric Lindvall > Fix For: 3.4.6, 3.5.0 > > Attachments: 0001-Ensure-send_to-is-positive.patch, > 0001-Ensure-send_to-is-positive.patch, ZOOKEEPER-1756-br34.patch, > ZOOKEEPER-1756.patch, zookeeper-3.4.5-send_to-fix.patch > > > If the client is connected to a zookeeper server that has hung while there is > an outstanding request, zookeeper_interest() can return a timeval of 0 > because send_to will be negative. -- This message was sent by Atlassian JIRA (v6.1#6144)