Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-1756

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 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.

        Attachments

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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: