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