elek commented on a change in pull request #2069:
URL: https://github.com/apache/ozone/pull/2069#discussion_r608437838



##########
File path: 
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/impl/HddsDispatcher.java
##########
@@ -410,6 +410,11 @@ ContainerCommandResponseProto createContainer(
         ContainerProtos.ContainerType.KeyValueContainer;
     createRequest.setContainerType(containerType);
 
+    if (containerRequest.hasWriteChunk()) {

Review comment:
       Sorry, I am not sure about the question. What do you mean `pack from the 
BockID`?
   
   I think you suggested including the replicaIndex in the block id which 
became a `(containerid, localid, replicaindex)` tuplet. This is the reason to 
have `getBlockd().getReplicaIndex()` here.
   
   But let me know if I misunderstand something.




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

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