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

Nitsan Wakart updated CASSANDRA-21357:
--------------------------------------
    Component/s: Local/Compaction

> CursorBasedCompaction: prevUnfilteredSize always written as 0 in 
> SSTableCursorWriter
> ------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-21357
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-21357
>             Project: Apache Cassandra
>          Issue Type: Bug
>          Components: Local/Compaction, Local/SSTable
>            Reporter: Arjun Ashok
>            Priority: Normal
>
> The cursor compaction path always writes 0 for the prevUnfilteredSize field 
> in every row and range tombstone marker in Data.db. 
> This field records the on-disk byte size of the preceding item in the 
> partition, used for efficient reverse-scan iteration. The iterator path 
> correctly computes and writes the actual size. While no current read path 
> consumes this field, the incorrect value breaks binary SSTable compatibility 
> with the iterator path and will break any future reverse-scan implementation.



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