You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Stefan Miklosovic (Jira)" <ji...@apache.org> on 2026/08/03 16:48:00 UTC
[jira] [Updated] (CASSANDRA-21519) Throw CorruptSSTableException in fill()
[ https://issues.apache.org/jira/browse/CASSANDRA-21519?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefan Miklosovic updated CASSANDRA-21519:
------------------------------------------
Status: Ready to Commit (was: Review In Progress)
> 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: 5.0-ci_summary.html, 5.0-result_details.tar.gz, 6.0-ci_summary.html, 6.0-result_details.tar.gz, ci_summary.html, result_details.tar.gz
>
> Time Spent: 2h 20m
> 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