David Smiley created SOLR-16904:
-----------------------------------

             Summary: Move replica should retain preferredLeader flag
                 Key: SOLR-16904
                 URL: https://issues.apache.org/jira/browse/SOLR-16904
             Project: Solr
          Issue Type: Improvement
      Security Level: Public (Default Security Level. Issues are Public)
          Components: SolrCloud
            Reporter: David Smiley
            Assignee: Bruno Roustant


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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to