Apache9 commented on a change in pull request #4125:
URL: https://github.com/apache/hbase/pull/4125#discussion_r830951386



##########
File path: 
hbase-client/src/main/java/org/apache/hadoop/hbase/ipc/NettyRpcConnection.java
##########
@@ -297,11 +295,10 @@ public void operationComplete(ChannelFuture future) 
throws Exception {
             established(ch);
           }
         }
-      }).channel();
+      }).sync().channel();

Review comment:
       In the netty world, I think you should use callback instead of block 
waiting. If a feature can be implemented by a sync call, I think it should also 
be possible to be implemented by a ChannelFuture.addListener or something else.




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


Reply via email to