smengcl commented on code in PR #8587:
URL: https://github.com/apache/ozone/pull/8587#discussion_r2373058328


##########
hadoop-hdds/common/src/main/java/org/apache/hadoop/ozone/util/ProtobufUtils.java:
##########
@@ -46,4 +46,8 @@ public static UUID fromProtobuf(HddsProtos.UUID proto) {
   public static int computeRepeatedStringSize(String value) {
     return CodedOutputStream.computeStringSizeNoTag(value);
   }
+
+  public static int computeLongSizeWithTag(long value) {
+    return CodedOutputStream.computeInt64Size(10, value);

Review Comment:
   Where does field number 10 come from?



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to