Menu

#13 Connect timeouts not calculated properly

closed
c client (2)
5
2008-06-10
2008-04-21
No

There should be a better connection between connect timeout, ping timeout, and session timeout. On the Java client it is sessionTimeout/hostsList.length. On the C client it's just the readTimeout. There is also an arbitrary delay when we find that all the hosts are down.

We should come up with a good consistent story for the connect timeout. Since we leave sessionTimeout/3 ms for recovery from a down server, it seems most reasonable to have something like sessionTimeout/(3*hostsList.length).

Discussion

  • Patrick Hunt

    Patrick Hunt - 2008-05-05

    Logged In: YES
    user_id=12853
    Originator: NO

    Assigning to Ben.

     
  • Patrick Hunt

    Patrick Hunt - 2008-05-05
    • assigned_to: nobody --> breed
     
  • Patrick Hunt

    Patrick Hunt - 2008-06-10

    Logged In: YES
    user_id=12853
    Originator: NO

    Moved to Apache https://issues.apache.org/jira/browse/ZOOKEEPER-14

     
  • Patrick Hunt

    Patrick Hunt - 2008-06-10
    • status: open --> closed
     

Log in to post a comment.