You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ratis.apache.org by GitBox <gi...@apache.org> on 2020/12/09 09:10:32 UTC

[GitHub] [incubator-ratis] runzhiwang commented on a change in pull request #339: RATIS-1196. Save STREAM_CLOSE RPC call

runzhiwang commented on a change in pull request #339:
URL: https://github.com/apache/incubator-ratis/pull/339#discussion_r539131795



##########
File path: ratis-client/src/main/java/org/apache/ratis/client/api/DataStreamOutput.java
##########
@@ -28,7 +28,7 @@
 import java.util.concurrent.CompletableFuture;
 
 /** An asynchronous output stream supporting zero buffer copying. */
-public interface DataStreamOutput extends CloseAsync<DataStreamReply> {

Review comment:
       @szetszwo Sorry, what should we do in closeAsync() ? Do we need to send rpc call to primary ?  If so, user maybe confused between writeAndCloseAsync and closeAsync. I delete `extends CloseAsync` so that user can only close by writeAndCloseAsync.




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