Reputation: 715
I want to upgrade cassandra 2.1.19 cluster to 3.11.1 without downtime. Will 3.11.1 nodes work together with 2.1.19 nodes at the same time?
Upvotes: 3
Views: 2659
Reputation: 3266
Key point will be how you connect to your cluster. You will need to try out on test systems if everything works from your application side doing the switch.
I recommend a two stop process in this case, migrate from 2.1.19 to 3.0.x - one node at atime.
For every node do the following (i said you need to test before before going to production right?):
nodetool status
nodetool upgradesstables
- almost always needed, dont skip this even if "something" works right nowAfter that - upgrade 3.0.x to 3.11.x in the same fashion, add the new repo, configure for 3.11.x as for 3.0.x above and so on. But this time you can skip upgrading sstables as the format stays the same (but it wont harm if you do so).
Did I mention to do this on testing system first? One thing that will happen and may break things - older native protocols will be gone as well as rpc/ thrift.
Hope I didn't miss something ;)
Upvotes: 4