umamaheswararao commented on code in PR #3275:
URL: https://github.com/apache/ozone/pull/3275#discussion_r846353239


##########
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/statemachine/commandhandler/DeleteContainerCommandHandler.java:
##########
@@ -82,6 +82,11 @@ public void handle(final SCMCommand command,
     });
   }
 
+  @Override
+  public int getQueuedCount() {

Review Comment:
   Since we are using directly this queue from threadpool, there is a chance 
one more task in progress running task right? For now it may be ok, I am just 
wondering we need to maintain our own counter to track all tasks including 
currently running task.



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to