bbotella commented on code in PR #4198: URL: https://github.com/apache/cassandra/pull/4198#discussion_r2144972232
########## src/java/org/apache/cassandra/cql3/statements/UpdateStatement.java: ########## @@ -125,7 +125,8 @@ public void addUpdateForKey(PartitionUpdate.Builder updateBuilder, Clustering<?> updates.get(i).execute(updateBuilder.partitionKey(), params); Row row = params.buildRow(); - evaluateConstraintsForRow(row, metadata); + if (params.options.areConstraintsEnabled()) Review Comment: If we are going this route (which I think it is the correct way to go), should we take the opportunity to expose this as part of the config yamls? -- 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: pr-unsubscr...@cassandra.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: pr-unsubscr...@cassandra.apache.org For additional commands, e-mail: pr-h...@cassandra.apache.org