bharatviswa504 commented on a change in pull request #1225: HDDS-1909. Use new
HA code for Non-HA in OM.
URL: https://github.com/apache/hadoop/pull/1225#discussion_r319613652
##########
File path:
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/request/key/OMKeyRequest.java
##########
@@ -307,7 +307,6 @@ protected OMClientResponse
prepareCreateKeyResponse(@Nonnull KeyArgs keyArgs,
if (omAction == OMAction.CREATE_FILE) {
- ozoneManager.getMetrics().incNumCreateFile();
Review comment:
Because they are updated at starting on the method in Line 167:
OMFileCreateRequest. Similarly for OMKeyCreateRequest also.
----------------------------------------------------------------
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]