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

LeaderLatch does not complete if it is started without a connection to ZooKeeper

    XMLWordPrintableJSON

Details

    Description

      Given the following conditions:
      1.) No connection is available to ZK
      2.) A LeaderLatch is created and started
      3.) All retries for the leader latch creating its ephemeral zNode have been exhausted.

      At this point the LeaderLatch will not begin functioning correctly when a connection is established. This is due to it ignoring 'CONNECTED' connection state events (it only handles RECONNECTED events).

      The fix should simply be a case of making the state handling for CONNECTED and RECONNECTED the same.

      Attachments

        Activity

          People

            randgalt Jordan Zimmerman
            cammckenzie Cam McKenzie
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified