Uploaded image for project: 'Apache Curator'
  1. Apache Curator
  2. CURATOR-720

CuratorZookeeperClient.internalBlockUntilConnectedOrTimedOut should exit after a close

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 5.8.0
    • Client
    • None

    Description

      Currently the CuratorZookeeperClient.internalBlockUntilConnectedOrTimedOut method loops until the client is connected or the timeout is reached. The loop never checks that the client is still "started" (not closed). The loop should be able to exit early if "started.get()==false", because it cannot expect the client to ever connect after that point.

      Attachments

        Issue Links

          Activity

            People

              houston Houston Putman
              houston Houston Putman
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: