Github user hyunsik commented on a diff in the pull request:

    https://github.com/apache/tajo/pull/541#discussion_r28642056
  
    --- Diff: 
tajo-rpc/tajo-rpc-protobuf/src/main/java/org/apache/tajo/rpc/BlockingRpcClient.java
 ---
    @@ -188,10 +187,12 @@ protected void channelRead0(ChannelHandlerContext 
ctx, RpcResponse rpcResponse)
         @Override
         public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause)
             throws Exception {
    +      /* Current requests will be failed */
           for(ProtoCallFuture callback: requests.values()) {
             callback.setFailed(cause.getMessage(), cause);
           }
    -      
    +      requests.clear();
    --- End diff --
    
    I missed the above line, which marks all requests as 'failed'. This code 
also seem to be based on the assumption that exceptionCaught does not handle 
any recoverable exception. If it is right, please go ahead. Otherwise, we can 
fix the bug of TAJO-1569 right now, and we can handle this problem in another 
jira.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to