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

LeaderLatch sends events that leads to simultaneously leadership after blocking zookeeper peer communication

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • 2.12.0, 4.0.0
    • None
    • Recipes
    • None
    • Linux

    Description

      How to reproduce the error:

      • 3 Zookeeper nodes.
      • Using LeaderLatch recipe with a listener.
      • We block the zookeeper network with the attached script. It blocks communication between zookeepers. Note that comunication is lost only for 10 seconds that is exactly our default session timeout.

      Our curator configuration:

      • Base sleep 100ms
      • Max sleep 5000ms
      • Default connection timeout 15000ms
      • Default Session timeout 10000ms

      I am working with a pull request. Fix seems trivial but creating the test not so much.

      Attachments

        1. blockZookeeperPort.sh
          0.1 kB
          Borja Bravo Alférez

        Issue Links

          Activity

            People

              randgalt Jordan Zimmerman
              borjab Borja Bravo Alférez
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: