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


  1. IMPORTANT! Flush memtables to the disk by executing the following command:

    nodetool drain
  2. Shut down the 3.x node.

  3. Install Cassandra 4.x. for installation instructions, see Installing Cassandra on Linux or Installing Cassandra on Windows.
  4. Configure the 4.x node to point to the appropriate data files as shown in the example below.

    Example
    data_file_directories:
    - /data/data
    commitlog_directory: /logs/commitlog
    hints_directory: /data/hints
    saved_caches_directory: /data/saved_caches
  5. Start the Cassandra 4.x node.
  6. Check the log files for errors.
  7. 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.