lokeshj1703 commented on a change in pull request #833: HDDS-1502. Add metrics 
for Ozone Ratis performance.
URL: https://github.com/apache/hadoop/pull/833#discussion_r286106664
 
 

 ##########
 File path: 
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/transport/server/ratis/CSMMetrics.java
 ##########
 @@ -86,7 +107,7 @@ public long getNumWriteStateMachineOps() {
 
   @VisibleForTesting
   public long getNumReadStateMachineOps() {
-    return numReadStateMachineOps.value();
+    return queryStateMachineOps.value();
 
 Review comment:
   Should be numReadStateMachineOps? We need another fn for 
queryStateMachineOps.

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

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

Reply via email to