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

Parent task for adding a SESSION_LOST connection state, etc.

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • Framework, Recipes
    • None

    Description

      Spark now leverage curator to help manage the connections to ZK and do leader election.
      Currently, whenever a ZK session gets disassociated, the ConnectionStateManager will be aware and mark the state to be SUSPENDED and a new leader election will be triggered.
      Even though a ZK session is able to reconnect to another machine very soon.

      I wonder if we can tolerate such unstable network trembling and do not trigger a leader election. Because the upper layer application's (like spark) reaction of new leader can be very costly.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              donglei Dong Lei
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: