Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 714
Vladimir Ermakov Avatar asked Nov 11 '15 13:11

Vladimir Ermakov


People also ask

Who has the biggest Cassandra instance?

4. Apple has the biggest Cassandra instance.

Is Cassandra free?

Apache Cassandra is a free and open-source distributed NoSQL database management system designed to handle large amounts of data across many commodity servers, providing high availability with no single point of failure.

What port does Cassandra use for communication?

What ports does Cassandra use? By default, Cassandra uses 7000 for cluster communication (7001 if SSL is enabled), 9042 for native protocol clients, and 7199 for JMX. The internode communication and native protocol ports are configurable in the cassandra-yaml .


1 Answers

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.

like image 147
phact Avatar answered Sep 19 '22 20:09

phact