Replacing a downed Solr server with a new replica

This is actually a very easy process, however, when you end up with a downed server it still has information about it stored in clusterstate.json inside zookeeper. So we need to delete that information. You can do so by doing:

/admin/collections?action=DELETEREPLICA&collection=<collection>&shard=<shard>&replica=<replica>

Then when you add a new server it will become a replica of the shard that requires a new replica and get updated with the content via replication from the leader. 

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk