zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Gover <james.go...@canva.com.INVALID>
Subject 3.4.8 to 3.5.8 rolling update
Date Mon, 07 Sep 2020 04:19:08 GMT
Hi,

We are upgrading from zookeeper 3.4.8 to 3.5.8 via 3.4.14.
There are several mentions of going from 3.4.6 to 3.5.8, is going from
3.4.14 to 3.5.8 ok.

In terms of Leader-tasks running during the upgrade. The intent is to
migrate a cluster of 3 zk nodes by:
* scaling up to 5 nodes (adding two new nodes)
* one non-leader node at a time; destroying the instance and replacing it
with a new 3.5.8 node
* then stoping zk on the leader so another node becomes the leader,
terminating the instance then adding a 3.5.8 node.
* removing two (non-leader) node to scale back to 3 nodes

With this process; will leader tasks running on the 3.4.14 leader (using
curator leaderLatch) fail when this leader is terminated but succeed if run
after a short delay will run on a new 3.5.8 leader node.

Thanks,

James



--
Sent from: http://zookeeper-user.578899.n2.nabble.com/

Mime
View raw message