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

   ## What changes were proposed in this pull request?
   
   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.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-8680
   
   ## How was this patch tested?
   
   Existing tests should cover this.


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