TheR1sing3un commented on code in PR #5046:
URL: https://github.com/apache/rocketmq/pull/5046#discussion_r1027311327


##########
controller/src/main/java/org/apache/rocketmq/controller/impl/manager/BrokerReplicaInfo.java:
##########
@@ -20,30 +20,32 @@
 import java.util.HashSet;
 import java.util.Set;
 import java.util.concurrent.atomic.AtomicLong;
+import org.apache.rocketmq.common.MixAll;
 
 /**
- * Broker info, mapping from brokerAddress to {brokerId, brokerHaAddress}.
+ * Broker replicas info, mapping from brokerAddress to {brokerId, 
brokerHaAddress}.
  */
-public class BrokerInfo {
+public class BrokerReplicaInfo {
     private final String clusterName;
     private final String brokerName;
-    // Start from 1
-    private final AtomicLong brokerIdCount;
+    // Start from 2, because no.1 will be used when the instance is initiated

Review Comment:
   done~



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

Reply via email to