I have a default 5 shard, 1 replica cluster on 0.17.6 and was
wondering how one upgrades to 0.17.7 and, for that matter, other
I tried the following
- stopping the replica
- copy contents of the new tarball on top of the old files
- start the replica again
I expected the replica to then just pick up where it left off and
rejoin the cluster; the master sending any new updates to stuff.
Instead I received a lot of errors on the slave and master
[2011-09-21 09:51:29,604][WARN ][cluster.action.shard ] [dtmc]
sending failed shard for [paste], node[v4DssP8vRZW3DpFqHx3Kgg],
[R], s[INITIALIZING], reason [Failed to start shard, message
[RecoveryFailedException[Index Shard [paste]: Recovery failed from
[dtmb][-2ebGZhPTYiT-wJbpgC3bg][inet[/192.168.11.14:9300]] into [dtmc]
recovery/startRecovery]]; nested: RecoveryEngineException[[paste]
Phase Execution failed]; nested: RemoteTransportException[[dtmc]
and the slave appeared to go into a tight loop of just spitting out
So I stopped the slave and am scratching my head trying to figure out
how to restart it.
What is the general recommended way of upgrading the nodes in a
cluster? Can you do them one at a time? Or do you need to bring the
entire cluster down, upgrade them all, and then start them again?