[ 
https://issues.apache.org/jira/browse/CASSANDRA-17001?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yifan Cai updated CASSANDRA-17001:
----------------------------------
    Test and Documentation Plan: ci; unit test
                         Status: Patch Available  (was: Open)

PR: [https://github.com/apache/cassandra/pull/1311]
CI: 
[https://app.circleci.com/pipelines/github/yifan-c/cassandra?branch=CASSANDRA-17001%2Ftrunk]
 
The patch introduces a non-blocking mode for CDC. When in the mode, no mutation 
is blocked on full. Instead, the oldest commit logs are removed in order to 
make space for the new one. The new config name is {{{}cdc_block_writes{}}}, 
which defaults to {{true}} in order to maintain the existing behavior. It can 
be set via yaml config or JMX update.

> Optionally prune CDC segments if consumer fails to consume them fast enough
> ---------------------------------------------------------------------------
>
>                 Key: CASSANDRA-17001
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-17001
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Local/Commit Log
>            Reporter: Dinesh Joshi
>            Assignee: Yifan Cai
>            Priority: Normal
>
> Current CDC implementation blocks writes if the CDC segments have filled up. 
> This makes sense for some use-cases. In other cases it would be beneficial 
> for C* to prune the CDC segments if they haven't been consumed. This will 
> prevent blocking of writes. With this change we will introduce a flag to 
> prune CDC segments much like a circular buffer. This will prevent the writes 
> being blocked.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to