jojochuang commented on code in PR #6782:
URL: https://github.com/apache/ozone/pull/6782#discussion_r1635938828
##########
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/transport/server/ratis/CSMMetrics.java:
##########
@@ -216,6 +244,14 @@ public void incNumEvictedCacheCount() {
numEvictedCacheCount.incr();
}
+ public void incPendingApplyTransactions() {
+ pendingApplyTransactions.incr();
+ }
+
+ public void decPendingApplyTransactions() {
Review Comment:
this is called by whenComplete(), which is invoked even if there's an
exception.
--
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]