samueldlightfoot commented on code in PR #4178:
URL: https://github.com/apache/cassandra/pull/4178#discussion_r2659139793
##########
src/java/org/apache/cassandra/io/util/CompressedChunkReader.java:
##########
@@ -119,6 +119,52 @@ default void close()
ByteBuffer read(CompressionMetadata.Chunk chunk, boolean
shouldCheckCrc) throws CorruptBlockException;
}
+ private static final class DirectRandomAccessReader implements
CompressedReader
+ {
+
+ private final ChannelProxy channel;
+ private final int blockSize;
+ private final DirectThreadLocalByteBufferHolder bufferHolder;
Review Comment:
ByteBuffer cleaning added on close for all readers (direct & standard)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]