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

race condition in zookeeper client library between zookeeper_close and zoo_synchronous api

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 3.1.1
    • 3.2.0
    • c client
    • None
    • Reviewed

    Description

      There is a race condition in zoopkeeper client library wherein if the application calls zookeeper_close() and zoo_anysynchronouscall simultaneously, sometimes the zoo_sync api call gets hung waiting for a notification whcih will never come.
      We might want to create another bugfix release for this.

      Attachments

        1. test.c
          1.0 kB
          Mahadev Konar
        2. ZOOKEEPER-396.patch
          2 kB
          Mahadev Konar

        Activity

          People

            mahadev Mahadev Konar
            mahadev Mahadev Konar
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: