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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to