Can directly upgrade ScyllaDB 2.1.x to ScyllaDB 3.x.x? - cassandra

As I have checked Scylla DB documentation and not found clearly where we can upgrade directly from Scylla version 2.1.x to 3.x.x directly.Is there any middle version upgrade required between 2.1.x to 3.x.x? Please help

The process is not documented, because it was not tested
You can follow the 2.1 to 2.2 instructions using 3.0, and everything should work, but the safest path will be 2.1 --> 2.2 --> 2.3 --> 3.0.2
Tzach
(ScyllaDB Product Manager)

Related

Upgrading multiple YugabyteDB versions at once

[Question posted by a user on YugabyteDB Community Slack]
The YugabyteDB core documentation for upgrades doesn't seem to address compatibility between versions. Can you upgrade from 2.8 to 2.13? Or is there a less direct path available?
The last upgrade attempted from 2.7 to 2.8 only worked for us building a 2.8 cluster and doing a snapshot restore with replication and then an application cutover. Is that the best method for moving from 2.8 to 2.13?
https://docs.yugabyte.com/latest/manage/upgrade-deployment/
In v2.8 we announced 'Seamlessly upgrade to major releases without stopping the database' see this release blog.
Also, just one upgrade could work, but we don’t officially support going from stable to latest releases or the reverse (latest to stable). There could be subtle issues because of backports status. So 2.8 to 2.12 is fine, the same 2.8 to 2.14(in future), or 2.9 to 2.13 — but 2.8 to 2.13 could face issues.
We do not officially support downgrades though.

Cassandra CQL versions

What version of CQL is CQLv4? Looking at the product compatibility page of the documentation shows versions 3.4, 3.3, 3.2... etc. Does the v4 in CQLv4 stand for 3.4?
I'm trying to find which versions of Cassandra are compatible with CQLv4.
https://docs.datastax.com/en/landing_page/doc/landing_page/compatibility.html?scroll=compatibilityDocument__cql-versions
I think that this table could do a better job for you. Protocol version 4 starts with Cassandra 2.2, and continues to version 3.x

Cassandra 2.2.3 Java Requirements

Does anyone know if Cassandra 2.2.3 supports Oracle Java 8? Is there a place where we can go to see supported Java versions?
I am not aware of a table or location that lists a cross-reference of all Cassandra versions and the Java versions that they support. But the Cassandra 2.2 installation documentation has this information:
Prerequisites
Latest version of Oracle Java Platform, Standard Edition 8 (JDK) or OpenJDK 7.
That can change with the version of Cassandra that you are installing. The Cassandra 2.1 installation doc also adds:
Note: It is recommended to use the latest version of Oracle Java 8 on all nodes. (Oracle Java 7 is also supported.)

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?
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.

How to upgrade datastax enterprise server 3.0.2 to 4.0?

What is the correct procedure of upgrading Datastax enterprise server. We have the datastax 3.0.2 running and we need to upgrade it to 4.0.1.
Can it be done using the Opscenter UI? Or do I need to manually upgrade the package on each machine.
Thanks.
There are pretty good upgrade instructions in the docs: http://www.datastax.com/documentation/upgrade/doc/upgrade/datastax_enterprise/upgradeTo4_0.html
You will need to manually upgrade each node, and it will take two upgrades, as you have to first upgrade to the latest DSE 3.2 release (3.2.6 right now), then upgrade to DSE 4.0 (and you should go to the latest which is 4.0.3 right now)

Resources