Uploaded image for project: 'Apache Twill (Retired)'
  1. Apache Twill (Retired)
  2. TWILL-129

Race condition in leader election if leader quitted before follower set the watch

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 0.4.0-incubating, 0.5.0-incubating, 0.4.1-incubating
    • 0.6.0-incubating
    • zookeeper
    • None

    Description

      In the LeaderElection implementation, if the leader quit and delete its node before the next-in-line follower try to set the watch through the exists() call, the follower will fail silently without noticing the leader node is gone.

      Attachments

        Activity

          People

            chtyim Terence Yim
            chtyim Terence Yim
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: