[jira] [Updated] (CASSANDRA-17001) Optionally prune CDC segments if consumer fails to consume them fast enough

2021-12-05 Thread Yifan Cai (Jira)


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

Yifan Cai updated CASSANDRA-17001:
--
  Fix Version/s: 4.1
Source Control Link: 
https://github.com/apache/cassandra/commit/d9460a04daee5fa97639abf2b6e28ff9b29cf636
 Resolution: Fixed
 Status: Resolved  (was: Ready to Commit)

Merged into trunk as 
[d9460a0|https://github.com/apache/cassandra/commit/d9460a04daee5fa97639abf2b6e28ff9b29cf636]

> 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
> Fix For: 4.1
>
>  Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> 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: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRA-17001) Optionally prune CDC segments if consumer fails to consume them fast enough

2021-12-05 Thread Yifan Cai (Jira)


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

Yifan Cai updated CASSANDRA-17001:
--
Status: Ready to Commit  (was: Review In Progress)

> 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
>  Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> 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: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRA-17001) Optionally prune CDC segments if consumer fails to consume them fast enough

2021-11-16 Thread Josh McKenzie (Jira)


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

Josh McKenzie updated CASSANDRA-17001:
--
Status: Review In Progress  (was: Patch Available)

> 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
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRA-17001) Optionally prune CDC segments if consumer fails to consume them fast enough

2021-11-12 Thread Josh McKenzie (Jira)


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

Josh McKenzie updated CASSANDRA-17001:
--
Reviewers: Josh McKenzie

> 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: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRA-17001) Optionally prune CDC segments if consumer fails to consume them fast enough

2021-11-09 Thread Yifan Cai (Jira)


 [ 
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: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRA-17001) Optionally prune CDC segments if consumer fails to consume them fast enough

2021-10-08 Thread Dinesh Joshi (Jira)


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

Dinesh Joshi updated CASSANDRA-17001:
-
Change Category: Operability
 Complexity: Normal
Component/s: Local/Commit Log
 Status: Open  (was: Triage Needed)

> 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.3.4#803005)

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