siddhantsangwan commented on a change in pull request #3077:
URL: https://github.com/apache/ozone/pull/3077#discussion_r804501753
##########
File path:
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OMMetrics.java
##########
@@ -306,6 +307,10 @@ public void incNumBucketCreates() {
numBucketCreates.incr();
}
+ public void incNumFSOBucketCreates() {
+ numFSOBucketCreates.incr();
Review comment:
Looks like `numBucketOps` also gets incremented in
`OMMetrics#incNumBucketCreates()`, which is called earlier at
https://github.com/apache/ozone/blob/7c990abc85d4142e1c30563cd67dc601f170eb90/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/request/bucket/OMBucketCreateRequest.java#L129
Do we want to increment `numBucketOps` twice?
--
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]