On 1/28/2014 10:31 AM, Greg Preston wrote:
** Using solrcloud 4.4.0 **
I had to kill a running solrcloud node. There is still a replica for that
shard, so everything is functional. We've done some indexing while the
node was killed.
I'd like to bring back up the downed node and have it resync from the other
replica. But when I restart the downed node, it joins back up as active
immediately, and doesn't resync. I even wiped the data directory on the
downed node, hoping that would force it to sync on restart, but it doesn't.
I'm assuming this is related to the state still being listed as active in
clusterstate.json for the downed node? Since it comes back as active, it's
serving queries and giving old results.
How can I force this node to do a recovery on restart?
This might be completely wrong, but hopefully it will help you: Perhaps
a graceful stop of that node will result in the proper clusterstate so
it will work the next time it's started? That may already be what you've
done, so this may not help at all ... but you did say "kill" which might
mean that it wasn't a clean shutdown of Solr.
Thanks,
Shawn