[ https://issues.apache.org/jira/browse/KAFKA-15169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17741508#comment-17741508 ]
Divij Vaidya commented on KAFKA-15169: -------------------------------------- Another test: 1. Create an index and verify file exists 2. Invalidate the index from cache which will mark it for cleanup i.e. change suffix to .deleted 3. Try to fetch the same index from cache, cache will not have it and re-fetch it. 4. Invalidate this index. 5. If the cleaner thread is slow, the file in step 2 will still exist 6. When we try to move this new file at step 4 to the same name with deleted, verify that it doesn't fail and instead overwrites the file. > Add a test to make sure the remote index file is overwritten for the earlier > existing(corrupted) files. > ------------------------------------------------------------------------------------------------------- > > Key: KAFKA-15169 > URL: https://issues.apache.org/jira/browse/KAFKA-15169 > Project: Kafka > Issue Type: Test > Reporter: Satish Duggana > Priority: Major > -- This message was sent by Atlassian Jira (v8.20.10#820010)