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

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

     [ https://issues.apache.org/jira/browse/SOLR-18080?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated SOLR-18080:
----------------------------------
    Labels: pull-request-available  (was: )

> 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
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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