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

Useless Zookeeper checks in shard leader election

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 9.0, 9.1
    • main (10.0)
    • SolrCloud
    • None

    Description

      After a Solr node restart, shard leader election code has specific calls to Zookeeper to wait for all replicas to join the election.

      This code is useless when joining leader election for another reason than node restart.

      (in class ShardLeaderElectionContext, call to method areAllReplicasParticipating() is useless and we ignore the returned value).

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              pierre.salagnac Pierre Salagnac
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m