iit2009060 commented on code in PR #15060: URL: https://github.com/apache/kafka/pull/15060#discussion_r1435446137
########## core/src/main/java/kafka/log/remote/RemoteLogManager.java: ########## @@ -1412,8 +1422,8 @@ private void collectAbortedTransactionInLocalSegments(long startOffset, } } } - - private Optional<RemoteLogSegmentMetadata> findNextSegmentMetadata(RemoteLogSegmentMetadata segmentMetadata, + // visible for testing. + Optional<RemoteLogSegmentMetadata> findNextSegmentMetadata(RemoteLogSegmentMetadata segmentMetadata, Option<LeaderEpochFileCache> leaderEpochFileCacheOption) throws RemoteStorageException { Review Comment: done -- 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: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org