maedhroz commented on code in PR #4395:
URL: https://github.com/apache/cassandra/pull/4395#discussion_r2615475911


##########
src/java/org/apache/cassandra/cql3/statements/schema/AlterKeyspaceStatement.java:
##########
@@ -87,6 +87,15 @@ public Keyspaces apply(ClusterMetadata metadata)
         if (attrs.getReplicationStrategyClass() != null && 
attrs.getReplicationStrategyClass().equals(SimpleStrategy.class.getSimpleName()))
             Guardrails.simpleStrategyEnabled.ensureEnabled(state);
 
+        if (newKeyspace.params.replicationType.isTracked() && 
!keyspace.params.replicationType.isTracked())
+        {
+            if (SchemaConstants.isSystemKeyspace(keyspaceName))
+                throw ire("Mutation tracking is not supported on system 
keyspaces");
+
+            if (!DatabaseDescriptor.getMutationTrackingEnabled())

Review Comment:
   @beobal Thanks for the note. I'm going to pick this up soon...



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to