You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Houston Putman (Jira)" <ji...@apache.org> on 2026/01/20 18:50:00 UTC

[jira] [Created] (SOLR-18080) Changes in ShardTerms should be able to trigger leader election

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: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org