In the read only path (when the schema is already up to date), the cassandra queries used to determine that should not use ConsistencyLevel.ALL, they should use QUORUM or LOCAL_QUORUM.
Use case:
We automatically do a schema migration during app startup and always use backward compatible changes so under normal conditions, the schema migration code works great when any one of our app instances is deployed/started.
However, when our second data center is offline for maintenance (a semi normal situation) or nodes are down for problem determination or maintenance or whatever, it's a fairly normal case to bounce our applications. For example, it could be application problem contributing to what's going on.
So the read only path where CassandraVersioner.getCurrentVersion() responds with an version corresponding to 'everything is up to date' for MigrationEngine.Migrator.migrate() fails. We will be putting in some manual code to work around this but we'd like to not do that.
Thanks!
In the read only path (when the schema is already up to date), the cassandra queries used to determine that should not use ConsistencyLevel.ALL, they should use QUORUM or LOCAL_QUORUM.
Use case:
We automatically do a schema migration during app startup and always use backward compatible changes so under normal conditions, the schema migration code works great when any one of our app instances is deployed/started.
However, when our second data center is offline for maintenance (a semi normal situation) or nodes are down for problem determination or maintenance or whatever, it's a fairly normal case to bounce our applications. For example, it could be application problem contributing to what's going on.
So the read only path where CassandraVersioner.getCurrentVersion() responds with an version corresponding to 'everything is up to date' for MigrationEngine.Migrator.migrate() fails. We will be putting in some manual code to work around this but we'd like to not do that.
Thanks!