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

Handle graceful stop of ZookKeeper client

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 3.4.9
    • 3.5.4, 3.6.0
    • java client
    • None

    Description

      As seen in ZOOKEEPER-1394 I would like to have the "close" which waits for all background activities to finish.
      In tests the method "testableWaitForShutdown" is used.

      We can add a new ZooKeeper.close(int tineout) method which will act as testableWaitForShutdown, joining all support threads.

      Attachments

        Issue Links

          Activity

            People

              eolivelli Enrico Olivelli
              eolivelli Enrico Olivelli
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: