Vladimir Ermakov
Vladimir Ermakov

Reputation: 113

cassandra 2.1 -> 3.0 upgrade restrictions

I'm trying to understand restrictions of upgrade from/to different versions of cassandra.

On the one hand, Cassandra docs http://docs.datastax.com/en/upgrade/doc/upgrade/cassandra/upgradeC_c.html

are saying "Cassandra 3.0.x restrictions: Upgrade from Cassandra 2.1 versions greater or equal to 2.1.9...", and I understand that as 'you couldn't upgrade to 3.0 from 2.1.8 and prior 2.1.* versions'.

On the other hand, there are no any restrictions on upgrading from, say, 2.1.8 (version prior to 2.1.9) to 2.1.11 (version grater then 2.1.9), in particular, 2.1.8->2.1.11 upgrade don't require upgrade of sstables.

So, could someone explain, why it's possible to upgrade from 2.1.9 to 3.0 but not from 2.1.8 to 3.0?

Upvotes: 5

Views: 2208

Answers (1)

phact
phact

Reputation: 7305

The docs restrict you from upgrading from early 2.1 versions to 3.0 because there are bug fixes and stability improvements in the later 2.1 releases that affect upgrades.

The best practice is to go to the latest patch on your branch before upgrading a major release. I.E. go to the latest 2.1.x and then go to 3.0.

Note: 3.0.0 dropped last night and it is very early in its release cycle. Make sure you test thoroughly in a qa environment before upgrading your production instance and follow the upgrade docs carefully.

Upvotes: 5

Related Questions