Mmuzaf commented on code in PR #2782:
URL: https://github.com/apache/cassandra/pull/2782#discussion_r1366121037
##########
src/java/org/apache/cassandra/index/sai/disk/io/IndexFileUtils.java:
##########
@@ -75,9 +79,20 @@ public IndexInput openBlockingInput(File file)
return IndexInputReader.create(randomReader, fileHandle::close);
}
+ public ChecksumIndexInput getBufferedChecksumIndexInput(IndexInput
indexInput)
Review Comment:
Fixed.
##########
src/java/org/apache/cassandra/index/sai/disk/v1/SAICodecUtils.java:
##########
@@ -99,9 +100,26 @@ public static void validate(IndexInput input, long
footerPointer) throws IOExcep
input.seek(current);
}
+ /**
+ * See the {@link
org.apache.lucene.codecs.CodecUtil#checksumEntireFile(org.apache.lucene.store.IndexInput)}.
Review Comment:
Fixed.
--
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]