ZooKeeper
  1. ZooKeeper
  2. ZOOKEEPER-1756

zookeeper_interest() in C client can return a timeval of 0

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.3.4, 3.4.5
    • Fix Version/s: 3.4.6, 3.5.0
    • Component/s: c client
    • Labels:
      None

      Description

      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.

      1. ZOOKEEPER-1756.patch
        1 kB
        Patrick Hunt
      2. ZOOKEEPER-1756-br34.patch
        1 kB
        Patrick Hunt
      3. 0001-Ensure-send_to-is-positive.patch
        2 kB
        Eric Lindvall
      4. 0001-Ensure-send_to-is-positive.patch
        2 kB
        Eric Lindvall
      5. zookeeper-3.4.5-send_to-fix.patch
        1 kB
        Eric Lindvall

        Activity

          People

          • Assignee:
            Eric Lindvall
            Reporter:
            Eric Lindvall
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development