hzh0425 commented on code in PR #4272:
URL: https://github.com/apache/rocketmq/pull/4272#discussion_r871065178


##########
store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/AutoSwitchHAClient.java:
##########
@@ -42,22 +43,33 @@
 
 public class AutoSwitchHAClient extends ServiceThread implements HAClient {
 
+    /**
+     * Handshake header buffer size. Schema: state ordinal + 
flag(isSyncFromLastFile) + slaveId + slaveAddressLength.
+     */
+    public static final int HANDSHAKE_HEADER_SIZE = 4 + 4 + 8 + 4;

Review Comment:
   嗯嗯, 后续应该会直接用 brokerId 来标识, 启用 address.



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