m1a2st commented on code in PR #21379:
URL: https://github.com/apache/kafka/pull/21379#discussion_r2787629725
##########
storage/src/main/java/org/apache/kafka/storage/internals/log/Cleaner.java:
##########
@@ -60,6 +61,11 @@ public class Cleaner {
private final Time time;
private final Consumer<TopicPartition> checkDone;
+ /**
+ * The topic partitions that have segment overflow history mapped to their
segment size ratio
+ */
+ private final Map<TopicPartition, Double> segmentOverflowPartitions = new
HashMap<>();
Review Comment:
Yes, you’re right. I should move the map into `LogCleaner`.
--
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]