You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Yifan Cai (Jira)" <ji...@apache.org> on 2022/05/26 20:48:00 UTC

[jira] [Created] (CASSANDRA-17666) Option to disable write path during streaming for CDC enabled tables

Yifan Cai created CASSANDRA-17666:
-------------------------------------

             Summary: Option to disable write path during streaming for CDC enabled tables
                 Key: CASSANDRA-17666
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-17666
             Project: Cassandra
          Issue Type: Improvement
            Reporter: Yifan Cai
            Assignee: Yifan Cai


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.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org