Owen-CH-Leung commented on code in PR #14136:
URL: https://github.com/apache/kafka/pull/14136#discussion_r1285857919


##########
core/src/main/java/kafka/log/remote/RemoteLogManager.java:
##########
@@ -144,8 +145,9 @@ public class RemoteLogManager implements Closeable {
 
     private final ConcurrentHashMap<TopicIdPartition, RLMTaskWithFuture> 
leaderOrFollowerTasks = new ConcurrentHashMap<>();
 
-    // topic ids that are received on leadership changes, this map is cleared 
on stop partitions
-    private final ConcurrentMap<TopicPartition, Uuid> topicPartitionIds = new 
ConcurrentHashMap<>();
+    // topic ids that are received on leadership changes & on stop partitions 
are stored in this cache
+    private final MetadataCache metaDataCache;

Review Comment:
   Got it. Will revise accordingly



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