wernerdv commented on code in PR #19387:
URL: https://github.com/apache/kafka/pull/19387#discussion_r2032650604
##########
core/src/main/scala/kafka/log/LogManager.scala:
##########
@@ -1384,7 +1385,7 @@ class LogManager(logDirs: Seq[File],
val deletableLogs = {
if (cleaner != null) {
// prevent cleaner from working on same partitions when changing
cleanup policy
- cleaner.pauseCleaningForNonCompactedPartitions()
+ cleaner.pauseCleaningForNonCompactedPartitions().asScala.map(entry =>
(entry.getKey, entry.getValue))
Review Comment:
Fixed, `cleaner.pauseCleaningForNonCompactedPartitions()` now return
`Map<TopicPartition, UnifiedLog>`.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]