Aswin Shakil created HDDS-13613:
-----------------------------------
Summary: Remove calculatePipelineBytesWritten from DN code path
Key: HDDS-13613
URL: https://issues.apache.org/jira/browse/HDDS-13613
Project: Apache Ozone
Issue Type: Bug
Reporter: Aswin Shakil
_XceiverServerRatis#calculatePipelineBytesWritten_ is called everytime when we
send a pipeline report, This method goes through all the containers to filter
out those container belonging to a pipelineID. In a dense DN, this would cause
a bottleneck when we send pipeline report. It would also cause a rippling
effect as the pipeline creation will become slow and the piple scrubber in SCM
will close this pipeline if the DN doesn't create the pipeline within time. The
DN will consisently be in a loop to create and close pipeline which would make
the DN unresponsive.
This _calculatePipelineBytesWritten_ is only used by a metric in SCM an thus it
should be removed, These aggregations needs to be done by Prometheus.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]