rishiraj88 commented on code in PR #15863:
URL: https://github.com/apache/kafka/pull/15863#discussion_r1613799763


##########
core/src/main/scala/kafka/log/LogCleaner.scala:
##########
@@ -223,8 +230,8 @@ class LogCleaner(initialConfig: CleanerConfig,
       info(s"Updating logCleanerIoMaxBytesPerSecond: $maxIoBytesPerSecond")
       throttler.updateDesiredRatePerSec(maxIoBytesPerSecond)
     }
-
-    shutdown()
+//    call shutdownCleaners() instead of shutdown to avoid unnecessary 
deletion of metrics

Review Comment:
   I agree for the indentation. The code will then look even more uniformed.



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