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

Option to disable write path during streaming for CDC enabled tables

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      For the CDC-enabled tables, a special write path is employed during streaming. The mutations streamed are written into commit log first.

      There are scenarios that the commit logs can accumulate, which lead to failure of streaming and blocking writes.

      I'd like to propose adding a dynamic toggle to disable the special write path for CDC during streaming.

      Please note that the toggle is a trade-off. Because the special write path is there in the hope to ensure data consistency. Turning it off allows the streaming to pass, but in some extreme scenarios, the downstream CDC consumers may have holes in the stream, depending on how they consumes the commit logs.

      Attachments

        Issue Links

        Activity

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

          People

            yifanc Yifan Cai Assign to me
            yifanc Yifan Cai
            Yifan Cai
            Josh McKenzie
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0h
              0h
              Logged:
              Time Spent - 1h 20m
              1h 20m

              Slack

                Issue deployment