Is there any way to remove dead replicas in solrcloud?

running.t picture running.t · Nov 6, 2013 · Viewed 8.3k times · Source

I am using solr 4.5. After several tests I have noticed a lot of dead (non existing) replicas are shown in my SolrCloud graph as gone (black). Is there any way to force my solr to forget about this gone replicas?

I think that manually modifying /clusterstate.json node in zookeeper might help but did not try it yet.

Answer

running.t picture running.t · Nov 8, 2013

The simplest way I found is in fact editing /clusterstate.json in zookeeper, and removing dead replicas info from it.