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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to