frankgh commented on code in PR #4839:
URL: https://github.com/apache/cassandra/pull/4839#discussion_r3329657745
##########
src/java/org/apache/cassandra/index/sai/disk/v1/vector/RandomAccessReaderAdapter.java:
##########
@@ -46,7 +46,7 @@ static ReaderSupplier createSupplier(FileHandle fileHandle)
@Override
public void readFully(float[] dest) throws IOException
{
- BufferHolder bh = bufferHolder;
+ BufferHolder bh = getBufferHolder();
Review Comment:
can we also expose a method for `getBufferHolderOffset()` and call that in
lines 53, 66, 101, and 114?
--
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]