You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by GitBox <gi...@apache.org> on 2022/02/08 02:08:37 UTC

[GitHub] [ratis] guohao-rosicky commented on a change in pull request #596: RATIS-1519. When DataStreamManagement#read an exception occurs, remove DataStream

guohao-rosicky commented on a change in pull request #596:
URL: https://github.com/apache/ratis/pull/596#discussion_r801209865



##########
File path: ratis-netty/src/main/java/org/apache/ratis/netty/server/DataStreamManagement.java
##########
@@ -439,7 +448,7 @@ private void readImpl(DataStreamRequestByteBuf request, ChannelHandlerContext ct
         }, requestExecutor)).whenComplete((v, exception) -> {
       try {
         if (exception != null) {
-          streams.remove(key);
+          removeDataStream(request);

Review comment:
       Yes, I modify it




-- 
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: issues-unsubscribe@ratis.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org