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/02/05 22:06:00 UTC

[jira] [Created] (CASSSIDECAR-402) Incorrect Segment Size Reported for Incomplete CDC Segments in ListCdcDirHandler

Jyothsna Konisa created CASSSIDECAR-402:
-------------------------------------------

             Summary: Incorrect Segment Size Reported for Incomplete CDC Segments in ListCdcDirHandler
                 Key: CASSSIDECAR-402
                 URL: https://issues.apache.org/jira/browse/CASSSIDECAR-402
             Project: Sidecar for Apache Cassandra
          Issue Type: New Feature
            Reporter: Jyothsna Konisa


 The ListCdcDirHandler was incorrectly reporting the segment size for CDC (Change Data Capture) commit log segments. For incomplete segments (still being written), the handler was using the file size from disk (fileAttributes.size()) instead of the actual amount of data written to the segment.

For incomplete segments, actual written size from the index file should be used
For completed segments, use the file size (which may be less than allocated size)



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