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

Add triggers support to LWT operations

Agile BoardAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 2.0.7, 2.1 beta2
    • None
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            samt Sam Tunnicliffe Assign to me
            samt Sam Tunnicliffe
            Sam Tunnicliffe
            Aleksey Yeschenko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment