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

[jira] [Commented] (CASSANDRA-21519) Throw CorruptSSTableException in fill()

    [ https://issues.apache.org/jira/browse/CASSANDRA-21519?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18100266#comment-18100266 ] 

Nivy Kani commented on CASSANDRA-21519:
---------------------------------------

Note: Verified that the failing seed for AbstractTypeTest also fails on the trunk branch, and thus is unrelated.

> Throw CorruptSSTableException in fill()
> ---------------------------------------
>
>                 Key: CASSANDRA-21519
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-21519
>             Project: Apache Cassandra
>          Issue Type: Bug
>          Components: Legacy/Local Write-Read Paths, Local/Compaction
>            Reporter: Nivy Kani
>            Assignee: Nivy Kani
>            Priority: Normal
>             Fix For: 5.0.x, 6.x, 7.x
>
>         Attachments: ci_summary-1.html, ci_summary.html, result_details.tar-1.gz, result_details.tar.gz
>
>          Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> In ThreadLocalReadAheadBuffer, in the rare case that chunk metadata and file size are out of sync (e.g. bytes erased from the file after chunk metadata is calculated), we’d enter an infinite loop.
>  
> The proposed fix is to throw a CorruptSSTableException if we’re trying to read past the end of a file, rather than clamping the read. 



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