1

I've been tasked with upgrading an Ubuntu based Cassandra cluster - having no prior experience with Cassandra.

I've tried digging through the docs but have been unable to find any instructions on how to do upgrades in a supported manner.

Luckily I have a test cluster which upgrades fine by just ensuring that apt points to the correct repo and doing apt upgrade - but perhaps that is just due to the database not being under any particular load.

Should the nodes be cordoned prior to upgrade or something similar? Or is it safe to trust apt to do its thing?

Should, for instance, nodetool upgradesstables be run manually after an upgrade from 4.0 to 4.1?

Is there documentation on this topic that I've failed to locate?

I managed to find this resource and it is quite a lot more involved than the apt upgrade I feel was completely successful.

2 Answers 2

2

Should the nodes be cordoned prior to upgrade or something similar? Or is it safe to trust apt to do its thing?

Yes, just let apt "do its thing."

Should, for instance, nodetool upgradesstables be run manually after an upgrade from 4.0 to 4.1?

Cassandra versions 4.0 and 4.1 do use different versions for SSTable files ("nb" and "nc", respectively). So "yes" nodetool upgradesstables should be run after upgrading all nodes to 4.1.

1

The 2nd upgrade guide that you found is the right one and has the most accurate steps for the C* upgrade.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.