Houston Putman created SOLR-18080:
-------------------------------------

             Summary: Changes in ShardTerms should be able to trigger leader 
election
                 Key: SOLR-18080
                 URL: https://issues.apache.org/jira/browse/SOLR-18080
             Project: Solr
          Issue Type: Improvement
            Reporter: Houston Putman
            Assignee: Houston Putman


Currently ShardTerms aid in doing Leader-initiated-recovery (LIR) during 
indexing for Solr shards/replicas. However other parts of Solr do modify the 
Shard terms, and the replicas should handle these changes gracefully.

One of these changes is the leader having a shard term lower than other 
replicas in the shard. In this case it should give up leadership, and a 
leader-election should take place.

This would be helpful in places like InstallShardData or RestoreCollection, 
where non-leader replicas may have more up-to-date versions of the index than 
the leader.



--
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