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

Eric Lindvall commented on ZOOKEEPER-1756:
------------------------------------------

Okay. I'll check it out when I have some time (I'm not sure when I'll have a 
chance to get to it).

The issue isn't a blocker for me, because I'm applying this patch as part of 
the build process of the zookeeper gem, but for anyone else using the C client, 
it's going to likely make a difference for how well they handle server timeouts 
(it's made a huge difference in production for me).

> 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-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)

Reply via email to