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

zookeeper client close operation may block indefinitely

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 3.6.0
    • Component/s: java client
    • Labels:
      None

      Description

      Moving the hang issue from ZOOKEEPER-63 to here. See 63 for background and potential patch (patch_ZOOKEEPER-63.patch).

      specifically (from James):

      "I'm thinking the close() method should not wait() forever on the disconnect packet, just a closeTimeout length - say a few seconds. Afterall blocking and forcing a reconnect just to redeliver the disconnect packet seems a bit silly - when the server has to deal with clients which just have their sockets fail anyway"

        Attachments

        1. ZOOKEEPER-126.patch
          10 kB
          Matthias Spycher
        2. ZOOKEEPER-126.patch
          2 kB
          Patrick Hunt

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                phunt Patrick Hunt
              • Votes:
                3 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: