Question

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.

Was it helpful?

Solution

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

OTHER TIPS

I don't know if there is any way to do some sort of global cleanup... but:

And, if this is something related to production and not only for testing purpose - you may also want to look at this upcoming change from 4.6 related to registering the replica that was previously removed - https://issues.apache.org/jira/browse/SOLR-5311

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top