sodonnel commented on code in PR #3345:
URL: https://github.com/apache/ozone/pull/3345#discussion_r861676265
##########
hadoop-hdds/interface-server/src/main/proto/ScmServerDatanodeHeartbeatProtocol.proto:
##########
@@ -407,6 +409,20 @@ message ReplicateContainerCommandProto {
required int64 cmdId = 3;
}
+/**
+* This command asks the datanode to reconstruct the missing EC containers by
+* using remaining containers from sources.
+*/
+message ReconstructECContainersCommandProto {
+ required int64 containerID = 1;
+ repeated DatanodeDetailsProto sources = 2;
+ repeated DatanodeDetailsProto targets = 3;
+ repeated int64 srcNodesIndexes = 4;
Review Comment:
In the ContainerReplicaProto, the replicaIndex is a int32:
> optional int32 replicaIndex = 14;
--
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]