iit2009060 commented on code in PR #14459:
URL: https://github.com/apache/kafka/pull/14459#discussion_r1338513994
##########
storage/src/main/java/org/apache/kafka/storage/internals/log/RemoteIndexCache.java:
##########
@@ -310,7 +310,7 @@ private <T> T loadIndexFile(File file,
RemoteLogSegmentMetadata remoteLogSegment
if (Files.exists(indexFile.toPath())) {
try {
index = readIndex.apply(indexFile);
- } catch (CorruptRecordException ex) {
Review Comment:
@Hangleton The RemoteIndexCache caches only index files which needs to be
checked for corruption. There is no such record concept in RemoteIndexCache.
@divijvaidya @satishd can add more details here.
--
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]