[ https://issues.apache.org/jira/browse/KAFKA-15169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17769006#comment-17769006 ]
Arpit Goyal commented on KAFKA-15169: ------------------------------------- [~divijvaidya] [~satish.duggana] In the test case 1 which you mentioned to test for the corrupted scenario , I discovered we are not handling one more use case which can be problematic ? Example 1. we call getIndexEntry 2. It succeeded 3. Somehow the offsetIndex file is corrupted 4. we call getIndexEntry 5. As it is already in the cache , it would always return the corrupted file without validating the sanityCheck ? > Add tests for RemoteIndexCache > ------------------------------ > > Key: KAFKA-15169 > URL: https://issues.apache.org/jira/browse/KAFKA-15169 > Project: Kafka > Issue Type: Test > Reporter: Satish Duggana > Assignee: Arpit Goyal > Priority: Major > Labels: KIP-405 > Fix For: 3.7.0 > > > Follow-up from > https://github.com/apache/kafka/pull/13275#discussion_r1257490978 -- This message was sent by Atlassian Jira (v8.20.10#820010)