binlijin commented on a change in pull request #955:
URL: https://github.com/apache/hbase/pull/955#discussion_r495521746



##########
File path: 
hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/AbstractProcedureScheduler.java
##########
@@ -174,7 +188,7 @@ public Procedure poll(final long nanos) {
           return null;
         }
       }
-      final Procedure pollResult = dequeue();
+      final Procedure pollResult = dequeue(highPriority);
 
       pollCalls++;
       nullPollCalls += (pollResult == null) ? 1 : 0;

Review comment:
       dequeue(highPriority=true) only pull highPriority procedure from the 
queue.
   And dequeue(highPriority=false)  will pull procedure from the queue like 
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]


Reply via email to