echonesis commented on code in PR #8789:
URL: https://github.com/apache/ozone/pull/8789#discussion_r2626441642
##########
hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/container/AbstractContainerReportHandler.java:
##########
@@ -362,7 +362,7 @@ private void updateContainerReplica(final DatanodeDetails
datanodeDetails,
.setReplicaIndex(replicaProto.getReplicaIndex())
.setBytesUsed(replicaProto.getUsed())
.setEmpty(replicaProto.getIsEmpty())
- .setDataChecksum(replicaProto.getDataChecksum())
+ .setChecksums(ContainerChecksums.of(replicaProto.getDataChecksum(),
0L))
Review Comment:
Thanks @adoroszlai
According to the
[review](https://github.com/apache/ozone/pull/8789#discussion_r2226709231) from
@errose28 , it seems that we won't have a `ContainerChecksums` with only one
checksum or the other.
And yes, I will follow the rationale.
--
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]