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

Option to disable write path during streaming for CDC enabled tables

    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

            People

              yifanc Yifan Cai
              yifanc Yifan Cai
              Yifan Cai
              Josh McKenzie
              Votes:
              0 Vote for this issue
              Watchers:
              4 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