Вопрос

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