You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Yafeng Lu (Jira)" <ji...@apache.org> on 2026/07/27 17:43:00 UTC

[jira] [Assigned] (CASSSIDECAR-486) Prefer exact-range CDC checkpoint on load to avoid restart rewind

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

Yafeng Lu reassigned CASSSIDECAR-486:
-------------------------------------

    Assignee: Yafeng Lu

> Prefer exact-range CDC checkpoint on load to avoid restart rewind
> -----------------------------------------------------------------
>
>                 Key: CASSSIDECAR-486
>                 URL: https://issues.apache.org/jira/browse/CASSSIDECAR-486
>             Project: Sidecar for Apache Cassandra
>          Issue Type: Improvement
>            Reporter: Yafeng Lu
>            Assignee: Yafeng Lu
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> On sidecar restart, CDC consumers reload checkpoint state from sidecar_internal.cdc_state_v2. Today loadStateForRange returns all rows whose (start, end) overlaps the owned range, then analytics merges them with Marker.min (earliest segment/offset wins), which can rewind the offset to days ago. However when an exact match exists, we can ignore stale overlapping historical rows in cdc_state_v2, and fall back to the existing overlap-based load (needed for cluster shrink) when no exact match is found.



--
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