ccding commented on a change in pull request #10763:
URL: https://github.com/apache/kafka/pull/10763#discussion_r659097305



##########
File path: core/src/main/scala/kafka/log/LogLoader.scala
##########
@@ -106,7 +158,14 @@ object LogLoader extends Logging {
       loadSegmentFiles(params)
     })
 
-    completeSwapOperations(swapFiles, params)
+    // Forth pass: rename remaining index swap files. They must be left due to 
a broker crash when

Review comment:
       I guess we don't need to put `retryOnOffsetOverflow` call in between. 
Removed the `toRenameSwapFiles` variable and combined the renaming in 
https://github.com/apache/kafka/pull/10763/commits/76c197c87cbdd9a7e109ce6330a4e88eaf2ad911




-- 
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


Reply via email to