On 1/22/2015 11:28 PM, 汤林 wrote:
> From a testing aspect, if we would like to verify the case that a query
> request to a "down" core on a running server will be failed over to the
> good core on another running server, is there any way to make a core as
> "down" on a running server? Thanks!
I think that would depend on exactly why the core is down.  Most
failures will make the core nonexistent in Solr, thus unable to accept
queries, but if you have a problem that results in the core functioning
correctly but the cluster is unaware of that fact, then the query would
probably work.  That kind of failure shouldn't be possible, but all
software has bugs, so I'm not going to rule it out.

> We tried to change the /clusterstate.json in ZooKeeper to mark an "active"
> core as "down", but it seems only change the state in ZK, while the core
> still functions in solr server.

I have no idea what will happen with manual clusterstate manipulation.
Although I do have a small cloud install, it's running an ancient
version (4.2.1), has no sharded indexes, and I do not interact with it
on a regular basis.

Thanks,
Shawn

Reply via email to