beobal commented on code in PR #3240:
URL: https://github.com/apache/cassandra/pull/3240#discussion_r1559186989


##########
src/java/org/apache/cassandra/triggers/TriggerExecutor.java:
##########
@@ -220,6 +230,16 @@ private List<Mutation> executeInternal(PartitionUpdate 
update)
         Triggers triggers = update.metadata().triggers;
         if (triggers.isEmpty())
             return null;
+        Config.TriggersPolicy policy = DatabaseDescriptor.getTriggersPolicy();

Review Comment:
   It would throw on the first `PartitionUpdate` which has a trigger. It may 
iterate over other updates which don't before it gets to one, but that's fine 
too. 



-- 
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