Magic Collaboration Studio no longer supports Apache Cassandra 3.x, therefore before upgrading Magic Collaboration Studio, you need to upgrade Cassandra to version 4.x (we recommend using Cassandra 4.0.3).
Before upgrading
- Make sure that all the nodes are ready.
- Create a snapshot of your data for backup.
- Upgrade sstables by running the command nodetool upgradesstables on each node.
To upgrade Cassandra
IMPORTANT! Flush memtables to the disk by executing the following command:
nodetool drain
Shut down the 3.x node.
- Install Cassandra 4.x. for installation instructions, see Installing Cassandra on Linux or Installing Cassandra on Windows.
Configure the 4.x node to point to the appropriate data files as shown in the example below.
Exampledata_file_directories: - /data/data commitlog_directory: /logs/commitlog hints_directory: /data/hints saved_caches_directory: /data/saved_caches
- Start the Cassandra 4.x node.
- Check the log files for errors.
- After the upgrade is complete, perform required post-installation configuration changes. For more information, see Post-installation steps on Linux or Post-installation steps on Windows.
Additional resources
For more information about upgrading Apache Cassandra, see https://www.datastax.com/learn/whats-new-for-cassandra-4/migrating-cassandra-4x.