[
https://issues.apache.org/jira/browse/CASSANDRA-21829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Francisco Guerrero updated CASSANDRA-21829:
-------------------------------------------
Attachment: CASSANDRA-21829-cassandra-6.0-ci_summary.html
> DirectReadAheadBuffer throws CorruptSSTableException instead of
> CorruptBlockException on a short read
> -----------------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-21829
> URL: https://issues.apache.org/jira/browse/CASSANDRA-21829
> Project: Apache Cassandra
> Issue Type: Bug
> Components: Local/SSTable
> Reporter: Francisco Guerrero
> Assignee: Francisco Guerrero
> Priority: Normal
> Attachments: CASSANDRA-21829-cassandra-6.0-ci_summary.html,
> CASSANDRA-21829-trunk-ci_summary.html
>
>
> In CASSANDRA-21671, {{ReadAheadBuffer#loadBlock}} now throws a
> {{CorruptBlockException}} on a short read. This bubbles up to
> {{CompressedChunkReader#readChunk}}, which will then reset the output buffer
> preventing stale data from being visible, and rethrow it as a
> {{CorruptSSTableException}} with the block position as the cause.
> We missed updating the {{DirectReadAheadBuffer#loadBlock}} which doesn't
> throw {{CorruptBlockException}} and instead still throws
> {{CorruptSSTableException}}. We just need to update this to match with the
> change in CASSANDRA-21671.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]