You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "David Smiley (Jira)" <ji...@apache.org> on 2023/02/28 15:20:00 UTC

[jira] [Commented] (SOLR-5991) SolrCloud: Add API to move leader off a Solr instance

    [ https://issues.apache.org/jira/browse/SOLR-5991?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17694612#comment-17694612 ] 

David Smiley commented on SOLR-5991:
------------------------------------

There is a REJOINLEADERELECTION core (not collection) admin command created in SOLR-6691 for use by the REBALANCELEADERS collection admin command.  It's not documented as it was some internal thing.  +1 to document it and perhaps even give a collection level convenience command.  I'd even say this is "newdev".

> SolrCloud: Add API to move leader off a Solr instance
> -----------------------------------------------------
>
>                 Key: SOLR-5991
>                 URL: https://issues.apache.org/jira/browse/SOLR-5991
>             Project: Solr
>          Issue Type: New Feature
>          Components: SolrCloud
>    Affects Versions: 4.7.1
>            Reporter: Rich Mayfield
>            Priority: Major
>
> Common maintenance chores require restarting Solr instances.
> The process of a shutdown becomes a whole lot more reliable if we can proactively move any leadership roles off of the Solr instance we are going to shut down. The leadership election process then runs immediately.
> I am not sure what the semantics should be (either accomplishes the goal but one of these might be best):
> * A call to tell a core to give up leadership (thus the next replica is chosen)
> * A call to specify which core should become 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