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

LeaderSelector node is not removed on connection loss if reconnected to the same session

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.7.1
    • 2.8.0
    • Framework, Recipes
    • None

    Description

      Leader selection fails when connection is lost but restored before session timed out.
      TC:

      • the client looses connection to the zookeeper server
      • the client looses leadership
      • the client reconnects to the zookeeper server using the same session
      • the leader node wasn't deleted because the connection was not available on deleteOurPath() call, and because the client had reconnected to the same session, so the ephemeral node wasn't deleted by zookeeper
      • the client creates the new node
      • no one is the leader because the old leader node stays forever.

      Attachments

        Issue Links

          Activity

            People

              randgalt Jordan Zimmerman
              serebrserg Sergey Serebryanik
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: