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

SetWatches needs to be the first message after auth messages to the server

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.0
    • 3.0.1, 3.1.0
    • java client
    • None
    • Reviewed

    Description

      When the ZooKeeper java client makes a connection it queues a SetWatches request. The problem is that it puts the request at the end of the outgoing requests. This means that watches for requests that were queued before the connection is made and after the disconnect may improperly get their watches triggered.

      Attachments

        1. ZOOKEEPER-204.patch
          19 kB
          Mahadev Konar
        2. ZOOKEEPER-204.patch
          19 kB
          Benjamin Reed
        3. ZOOKEEPER-204.patch
          19 kB
          Benjamin Reed
        4. ZOOKEEPER-204.patch
          18 kB
          Benjamin Reed

        Issue Links

          Activity

            People

              breed Benjamin Reed
              breed Benjamin Reed
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: