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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.3.4, 3.4.5
    • 3.4.6, 3.5.0
    • c client
    • 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 D. Hunt
        4. ZOOKEEPER-1756-br34.patch
          1 kB
          Patrick D. Hunt
        5. zookeeper-3.4.5-send_to-fix.patch
          1 kB
          Eric Lindvall

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: