[
https://issues.apache.org/jira/browse/HDDS-8680?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Attila Doroszlai resolved HDDS-8680.
------------------------------------
Fix Version/s: 1.4.0
Resolution: Implemented
> 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
> Priority: Major
> Fix For: 1.4.0
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]