nikramakrishnan commented on code in PR #15241: URL: https://github.com/apache/kafka/pull/15241#discussion_r1509082067
########## storage/src/main/java/org/apache/kafka/storage/internals/log/RemoteIndexCache.java: ########## @@ -522,6 +522,18 @@ public TimeIndex timeIndex() { // Visible for testing public TransactionIndex txnIndex() { + if (txnIndex.isClosed()) { Review Comment: Nit: Maybe it makes sense to add a debug log here to indicate that the log was closed and is being reopened? Might be useful to debug any performance issues. -- 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