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 2020/03/02 13:22:21 UTC

[GitHub] [hadoop-ozone] adoroszlai commented on a change in pull request #551: HDDS-2717. Handle chunk increments in datanode

adoroszlai commented on a change in pull request #551: HDDS-2717. Handle chunk increments in datanode
URL: https://github.com/apache/hadoop-ozone/pull/551#discussion_r386388214
 
 

 ##########
 File path: hadoop-hdds/client/src/main/java/org/apache/hadoop/hdds/scm/storage/BlockOutputStream.java
 ##########
 @@ -360,20 +360,33 @@ private void watchForCommit(boolean bufferFull) throws IOException {
   }
 
   private CompletableFuture<ContainerProtos.
 
 Review comment:
   The `force` flag is needed to handle the case when the stream is closed right after a putBlock, without further new data.  Since we don't know in advance which putBlock will be the last, we need to "force" another putBlock in this case.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

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