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

java client incorrectly generating syncdisconnected event when in disconnected state

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0, 3.0.1
    • Fix Version/s: 3.1.0
    • Component/s: c client, java client
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      The java client (and someone should also review the c client) is generating a syncdisconnected even if the client is currently in the disconnected state. We saw this with a user running the java client against a down standalone server (server not running, connection refused) - the "syncdisconnected" is generated by the client lib each time a connection attempt (fails) is made. Should only be generated once.

        Attachments

        1. ZOOKEEPER-267.patch
          11 kB
          Patrick D. Hunt

          Activity

            People

            • Assignee:
              phunt Patrick D. Hunt
              Reporter:
              phunt Patrick D. Hunt
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: