guohao-rosicky commented on a change in pull request #3195:
URL: https://github.com/apache/ozone/pull/3195#discussion_r827723384
##########
File path:
hadoop-hdds/client/src/main/java/org/apache/hadoop/hdds/scm/storage/BlockDataStreamOutput.java
##########
@@ -438,12 +439,39 @@ private void executePutBlock(boolean close,
byteBufferList = null;
}
waitFuturesComplete();
+ BlockData blockData = containerBlockData.build();
if (close) {
- dataStreamCloseReply = out.closeAsync();
+ out.writeAsync(ByteBuffer.allocateDirect(0).asReadOnlyBuffer())
Review comment:
Thanks for your comment @szetszwo . I wrote a piece of pseudo-code,
Ideas about the modification of
`org.apache.ratis.netty.server.DataStreamManagement#writeTo`.

What do you think of this idea? There is no need to send this empty buffer
rpc.
--
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]