lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan Ernst (JIRA)" <>
Subject [jira] [Commented] (SOLR-5991) SolrCloud: Add API to move leader off a Solr instance
Date Thu, 17 Apr 2014 21:13:21 GMT


Ryan Ernst commented on SOLR-5991:

The problem there is imagine you are in a cloud service, and you are migrating to new hosts.
 You don't want solrcloud to select a different host, that you plan on taking down.  'quit'
could work for this, but if you have 50 hosts, and you bring up another 50, I would imagine
quitting each of the old 50 hosts in succession would cause some churn in decision making.
 You really want a way to say "these new nodes are preferred".

> SolrCloud: Add API to move leader off a Solr instance
> -----------------------------------------------------
>                 Key: SOLR-5991
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>          Components: SolrCloud
>    Affects Versions: 4.7.1
>            Reporter: Rich Mayfield
> 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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message