I'm upgrading my cassandra from 2.1.x to 3.11.x, and I'm using datastax driver 3.3.1.
I learned from this document https://docs.datastax.com/en/cassandra-oss/3.x/cassandra/operations/opsMoveCluster.html that I need to have client writing to both 2.1 and 3.11 clusters.
However, datastax 3.3.1 driver dont support mixed native protocols, as it says in document https://docs.datastax.com/en/developer/java-driver/3.3/manual/native_protocol/. and if I want to upgrade my clusters, I need to do this:
- always force a protocol version at startup. You keep it at v2 while the rolling upgrade is happening, and only switch to v3 when the whole cluster has switched to Cassandra 2.1;
but the same document also says The protocol version cannot be changed at runtime.
1. How to switch native protocol at runtime without shutdown ?
2. Can client write to clusters with different native protocol the same time ?