Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-6882

Add triggers support to LWT operations

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Low
    • Resolution: Fixed
    • Fix Version/s: 2.0.7, 2.1 beta2
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              samt Sam Tunnicliffe
              Reporter:
              samt Sam Tunnicliffe
              Authors:
              Sam Tunnicliffe
              Reviewers:
              Aleksey Yeschenko
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: