You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jyothsna Konisa (Jira)" <ji...@apache.org> on 2026/07/29 21:27:00 UTC
[jira] [Updated] (CASSANALYTICS-182) CDC batch-write mixing a CDC-enabled and CDC-disabled table drops the CDC table's mutation
[ https://issues.apache.org/jira/browse/CASSANALYTICS-182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jyothsna Konisa updated CASSANALYTICS-182:
------------------------------------------
Authors: Jyothsna Konisa
Test and Documentation Plan: Added tests.
Status: Patch Available (was: Open)
> CDC batch-write mixing a CDC-enabled and CDC-disabled table drops the CDC table's mutation
> ------------------------------------------------------------------------------------------
>
> Key: CASSANALYTICS-182
> URL: https://issues.apache.org/jira/browse/CASSANALYTICS-182
> Project: Apache Cassandra Analytics
> Issue Type: Bug
> Components: CDC
> Reporter: Jyothsna Konisa
> Assignee: Jyothsna Konisa
> Priority: Normal
> Fix For: 0.5
>
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> Problem: A BEGIN BATCH statement writing to both a CDC-enabled and a CDC-disabled table under the same partition key produces one combined commit-log entry. Because the CDC bridge only tracked CDC-enabled tables, it couldn't recognize the
> non-CDC table in that entry, threw an error, and dropped the entire batch — including the CDC-enabled table's own update. Net effect: silent CDC data loss.
> Fix: The CDC bridge can now register any table, not just CDC-enabled ones, each correctly tagged with whether CDC is actually on for it. It's the caller that decides which non-CDC tables actually need registering — not every table in the cluster, only those that could realistically end up batched with a CDC-enabled table. Publishing/filtering logic still only acts on CDC-enabled tables, so batches deserialize correctly and no CDC events get silently dropped, without registering more schema than necessary.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org