[
https://issues.apache.org/jira/browse/CASSANDRA-6882?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sam Tunnicliffe updated CASSANDRA-6882:
---------------------------------------
Attachment: 0001-Add-triggers-support-to-LWT-operations.patch
> Add triggers support to LWT operations
> --------------------------------------
>
> Key: CASSANDRA-6882
> URL: https://issues.apache.org/jira/browse/CASSANDRA-6882
> Project: Cassandra
> Issue Type: New Feature
> Components: Core
> Reporter: Sam Tunnicliffe
> Assignee: Sam Tunnicliffe
> Priority: Minor
> Fix For: 2.0.7
>
> Attachments: 0001-Add-triggers-support-to-LWT-operations.patch
>
>
> Currently, any triggers configured for a table are not executed during LWT
> operations. If we were to enable triggers support for conditional operations,
> we'd need to restrict the kinds of mutations that those triggers are
> permitted to generate. More specifically, we'd need to ensure that only
> mutations that apply to the same partition as the primary condition are
> allowed. If a configured trigger emits mutations for another partition, or a
> different table, then the whole operation should be aborted in the same way
> as we abort non-LWT updates when a trigger produces invalid mutations.
--
This message was sent by Atlassian JIRA
(v6.2#6252)