문제

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.

도움이 되었습니까?

해결책

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

다른 팁

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top