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

Move replica should retain preferredLeader flag

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • SolrCloud
    • None

    Description

      When a replica is moved via the MoveReplicaCmd, retain the preferredLeader flag. This should ensure that the destination replica will be the leader when done, assuming the source was the leader and has preferredLeader.

      It would be nice if this could work similarly without preferredLeader – thus ensure the newly added replica "joins at head" (the election) if the source replica is the leader. Might not be in scope though.

      Attachments

        Activity

          People

            broustant Bruno Roustant
            dsmiley David Smiley
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: