blerer commented on a change in pull request #1061:
URL: https://github.com/apache/cassandra/pull/1061#discussion_r650754292
##########
File path:
src/java/org/apache/cassandra/cql3/statements/AlterTableStatement.java
##########
@@ -290,6 +290,10 @@ public void validate(ClientState state)
columnFamily()));
break;
case DROP_COMPACT_STORAGE:
+
+ if (!DatabaseDescriptor.enableDropCompactStorage())
+ throw new InvalidRequestException("DROP COMPACT STORAGE is
disabled. Enable in cassandra.yaml to use.");
Review comment:
That was my reasoning. Once you have run the command and saw the warning
it is effectively too late :-(
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]