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


##########
store/src/main/java/org/apache/rocketmq/store/ha/DefaultHAClient.java:
##########
@@ -35,11 +35,26 @@
 
 public class DefaultHAClient extends ServiceThread implements HAClient {
 
+    /**
+     * Report header buffer size. Schema: slaveMaxOffset. Format:
+     *
+     * <pre>
+     * ┌───────────────────────┬───────────────────────┐
+     * │                  slaveMaxOffset               │
+     * │                    (8bytes)                   │
+     * ├───────────────────────┴───────────────────────┤
+     * │                                               │
+     * │                  Report Header                │
+     * </pre>
+     * <p>
+     */
+    public static final int REPORT_HEADER = 8;

Review Comment:
   seems better!



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