You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2022/02/04 20:42:16 UTC

[GitHub] [ozone] umamaheswararao commented on a change in pull request #3041: HDDS-6250. EC: Add replica index to the output in the container info command

umamaheswararao commented on a change in pull request #3041:
URL: https://github.com/apache/ozone/pull/3041#discussion_r799794042



##########
File path: hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/scm/container/ContainerReplicaInfo.java
##########
@@ -45,7 +46,9 @@ public static ContainerReplicaInfo fromProto(
         .setPlaceOfBirth(UUID.fromString(proto.getPlaceOfBirth()))
         .setSequenceId(proto.getSequenceID())
         .setKeyCount(proto.getKeyCount())
-        .setBytesUsed(proto.getBytesUsed());
+        .setBytesUsed(proto.getBytesUsed())
+        .setReplicaIndex(

Review comment:
       I think we can just set 0 also, as that indicate non EC containers? EC containers replicaIndex will start from 1




-- 
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: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org