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

zookeeper client close operation may block indefinitely

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • 3.8.0
    • java client
    • 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
          2 kB
          Patrick D. Hunt
        2. ZOOKEEPER-126.patch
          10 kB
          Matthias Spycher

        Issue Links

          Activity

            People

              Unassigned Unassigned
              phunt Patrick D. Hunt
              Votes:
              3 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: