aswinshakil opened a new pull request, #8978:
URL: https://github.com/apache/ozone/pull/8978

   ## What changes were proposed in this pull request?
   `XceiverServerRatis#calculatePipelineBytesWritten` is called everytime when 
we send a pipeline report, This method goes through all the containers to 
filter out those containers belonging to a `pipelineID`. In a dense DN, this 
would cause a bottleneck when we send the pipeline report. It would also cause 
a rippling effect as the pipeline creation will become slow and the pipeline 
scrubber in SCM will close this pipeline if the DN doesn't create the pipeline 
within time. The DN will consistently be in a loop to create and close the 
pipeline, which would make the DN unresponsive.
   
   This calculatePipelineBytesWritten is only used by a metric in SCM, and thus 
it should be removed. These aggregations need to be done by Prometheus.
   
   ## What is the link to the Apache JIRA
   https://issues.apache.org/jira/browse/HDDS-13613
   
   ## How was this patch tested?
   No test required
   


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

Reply via email to