binlijin commented on a change in pull request #720: HBASE-22370 ByteBuf LEAK 
ERROR
URL: https://github.com/apache/hbase/pull/720#discussion_r335286698
 
 

 ##########
 File path: 
hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/CallRunner.java
 ##########
 @@ -88,6 +88,7 @@ public void setStatus(MonitoredRPCHandler status) {
    * Cleanup after ourselves... let go of references.
    */
   private void cleanup() {
+    this.call.cleanup();
 
 Review comment:
         if (call.disconnectSince() >= 0) {
           if (RpcServer.LOG.isDebugEnabled()) {
             RpcServer.LOG.debug(Thread.currentThread().getName() + ": skipped 
" + call);
           }
           return;
         }
         call.setStartTime(System.currentTimeMillis());
         if (call.getStartTime() > call.getDeadline()) {
           RpcServer.LOG.warn("Dropping timed out call: " + call);
           return;
         }
   
   When this two case, the call.cleanup() also not called before.
   

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to