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

Duplicate leader elector node detection is broken

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 6.0
    • 5.5.1, 6.0, 6.1, 7.0
    • None
    • 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

        1. SOLR-8837.patch
          0.7 kB
          Scott Blum

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: