Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-8837

Duplicate leader elector node detection is broken

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.0
    • Fix Version/s: 5.5.1, 6.0, 6.1, 7.0
    • Component/s: None
    • Labels:
      None

      Description

      LeaderElector.checkIfIAmLeader checks to see if it has duplicate registrations in under its election node, but it does this by prefix checking, which means that if core_node1 registers itself after core_node11, it will think it's a duplicate, and delete the core_node11 node.

      This is causing regular failures in UnloadDistributedZkTest.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                romseygeek Alan Woodward
                Reporter:
                romseygeek Alan Woodward
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: