cuibo01 commented on a change in pull request #2343:
URL: https://github.com/apache/hbase/pull/2343#discussion_r483420844



##########
File path: 
hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/RemoteProcedureDispatcher.java
##########
@@ -370,39 +383,47 @@ public TRemote getKey() {
     }
 
     @Override
-    public synchronized void add(final RemoteProcedure operation) {
-      if (this.operations == null) {

Review comment:
       TimeoutExecutorThread#run will remove task from pendingBufferNode, so 
after run, task will not be included in the  pendingBufferNode
   else {
        pendingBufferNode.remove(task);
        ((BufferNode) task).dispatch();
    }




----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to