You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Stephen O'Donnell (Jira)" <ji...@apache.org> on 2023/05/24 09:38:00 UTC
[jira] [Created] (HDDS-8680) Optimize getting open pipelines from pipelineManager
Stephen O'Donnell created HDDS-8680:
---------------------------------------
Summary: Optimize getting open pipelines from pipelineManager
Key: HDDS-8680
URL: https://issues.apache.org/jira/browse/HDDS-8680
Project: Apache Ozone
Issue Type: Sub-task
Components: SCM
Reporter: Stephen O'Donnell
Assignee: Stephen O'Donnell
In the WriteableECContainerProvider, we need to get the list of open pipelines on each block allocation request.
Open pipelines for a replication config can be retrieved efficiently from the PipelineStateMap.query2OpenPipelines variable.
However the list then needs to be filtered to remove excluded datanodes or pipelines. In the common case, these exclusions will be empty, so we can optimize this by skipping the iterator if there is nothing to filter out.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org