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/04/27 13:25:00 UTC
[jira] [Commented] (CASSANDRA-15396) RandomAccessReader does not override skip or skipBytes so will do a lot of disk io when n is large
[ https://issues.apache.org/jira/browse/CASSANDRA-15396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18076569#comment-18076569 ]
Stefan Miklosovic commented on CASSANDRA-15396:
-----------------------------------------------
cc [~dnk]
> RandomAccessReader does not override skip or skipBytes so will do a lot of disk io when n is large
> --------------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-15396
> URL: https://issues.apache.org/jira/browse/CASSANDRA-15396
> Project: Apache Cassandra
> Issue Type: Improvement
> Components: Local/SSTable
> Reporter: David Capwell
> Priority: Normal
> Attachments: Histogram-3.png
>
>
> RandomAccessReader does not override skip or skipBytes which becomes a problem when the size of n (the bytes to skip) is larger than a single buffer; in these cases we can rely on seek to avoid the extra disk io.
--
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