fapifta commented on code in PR #6883:
URL: https://github.com/apache/ozone/pull/6883#discussion_r1693645318


##########
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/statemachine/DatanodeStateMachine.java:
##########
@@ -701,15 +697,6 @@ private Thread getCommandHandlerThread(Runnable 
processCommandQueue) {
     return handlerThread;
   }
 
-  /**
-   * Returns the number of commands handled  by the datanode.
-   * @return  count
-   */
-  @VisibleForTesting
-  public long getCommandHandled() {

Review Comment:
   Once this method is removed, the commandsHandled long value is just 
incremented in the code, but it is never read, can we remove that as well?



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