sadanand48 commented on code in PR #11962:
URL: https://github.com/apache/ozone/pull/11962#discussion_r4657276785
##########
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/states/endpoint/HeartbeatEndpointTask.java:
##########
@@ -256,26 +272,54 @@ private void addReports(SCMHeartbeatRequestProto.Builder
requestBuilder) {
} else {
requestBuilder.setField(descriptor, report);
}
+ heartbeatSize.add(descriptor.getNumber(), report);
Review Comment:
fixed. The serialized-size accumulator now distinguishes repeated-field
additions from singular-field replacements. For singular fields, it subtracts
the previously recorded wire size before recording the replacement
--
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]