Vishal Sharma
Vishal Sharma

Reputation: 1750

Difference between 3.0.x and 3.11.x versions of cassandra

I'm currently using Cassandra version of 3.0.14 on my RHEL cluster. I've found that multiple versions have been released after the version that I'm currently using(http://www-eu.apache.org/dist/cassandra/redhat/). I'm confused about how should I upgrade my cluster because both 3.0.x and 3.11.x had their last version released on 19th Feb, 2018. So what exactly are the differences between the latest release of 3.0.x and latest release of 3.11.x. if 3.11.x is superior, then, should I directly upgrade my cluster from 3.0.14 to 3.11.2? Will all my data remain safe even after the upgrade?

Upvotes: 2

Views: 2554

Answers (1)

Horia
Horia

Reputation: 2982

Regarding the versions: you should check for changes and release notes for each version.

Also, these discussions might help in order to take a good decision regarding what version to upgrade to: 1, 2.

As upgrade procedure, see below a guideline.

  • backup the cluster (data, binaries, config)
  • check upgrade info in news
  • upgradesstables (before upgrade all sstables must have the same version)
  • drain
  • stop node
  • backup config
  • update binaries
  • update config
  • start
  • check logs/status. After the whole cluster is upgrade, run upgradesstables on each node.

Some observations:

  • perform a rolling upgrade, each node at a time
  • do not do schema changes, repairs, topology changes, streaming (as in bootstrap)
  • after you run upgradesstables, check that all sstables files are at the same version; if necessary, rerun upgradesstables.
  • upgrade seed nodes first within a DC
  • finish a DC and go to next
  • watch out for page state if you upgrade from 2.2 to 3.0 - you cannot run paged queries, check JIRA 10880 (I know it's not your case but others might find it useful).
  • test the upgrade several times on some test environment before doing it on a production cluster.

Also, these articles might provide useful information on the upgrade: 1, 2

Upvotes: 5

Related Questions