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

Yifan Cai updated CASSANALYTICS-196:
------------------------------------
    Change Category: Semantic
         Complexity: Normal
             Status: Open  (was: Triage Needed)

PR: [https://github.com/apache/cassandra-analytics/pull/241]

CI: 
[https://app.circleci.com/pipelines/github/yifan-c/cassandra-analytics?branch=CASSANALYTICS-TBD%2Fskip-cdc-irrelevant-mutation-on-deser-failure]

 

> Skip cdc irrelevant mutations on deserialization failure
> --------------------------------------------------------
>
>                 Key: CASSANALYTICS-196
>                 URL: https://issues.apache.org/jira/browse/CASSANALYTICS-196
>             Project: Apache Cassandra Analytics
>          Issue Type: Improvement
>          Components: CDC
>            Reporter: Yifan Cai
>            Assignee: Yifan Cai
>            Priority: Normal
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> BufferingCommitLogReader reads mutations from a Cassandra commit log to feed 
> CDC. If a mutation fails to deserialize (e.g. an unknown-column error from a 
> schema mismatch), it was always treated as unrecoverable — the reader aborted 
> the whole commit log segment, even when the mutation belonged to a table that 
> isn't CDC-enabled and would have been discarded anyway.
>  
> Before giving up, cheaply check whether the mutation's table is CDC-enabled. 
> If it isn't, skip that one mutation and keep reading the rest of the segment 
> instead of aborting.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to