cxorm commented on pull request #1571:
URL: https://github.com/apache/ozone/pull/1571#issuecomment-726216120


   > `createDirectory`, `createFile` are also write calls, for them the metrics 
are also updated in OM.
   > I couldn't find any metrics instance itself in `OMVolumeSetAclRequest` and 
why we can't update the metrics in OM?
   
   Yeah it's a good question, 
   for OMHA,  actually the write-operation of OzoneManager is processed by 
`OMRequest` instead of `OzoneManager`.
   (The write calls in `OzoneManager` is deprecated, but the code is not 
removed.) 
   
   > And the metrics being updated is `OMMetrics`, So, that should track 
statistics of OM only?
   
   Right, it is used to track statistics of OM (But the write calls of OM is 
processed by OMRequest.)
   
   


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



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

Reply via email to