Repository navigation
[Data][4/n] Switch to use BlockRefCounter for object store memory estimation - #64456
Conversation
There was a problem hiding this comment.
Code Review
This pull request introduces a centralized BlockRefCounter to track object-store memory usage per operator via Ray Core out-of-scope callbacks, replacing the previous estimation-based object store usage accounting. Operators now register produced blocks with the BlockRefCounter when they are yielded, and the ResourceManager queries this counter to get live memory usage per operator. The review feedback suggests lazy-loading the default add_object_out_of_scope_callback from global_worker inside on_block_produced instead of resolving it in __init__ to prevent AttributeError in environments where Ray is not yet initialized.
| def __init__( | ||
| self, | ||
| add_object_out_of_scope_callback: Optional[ | ||
| Callable[["ray.ObjectRef", Callable[[bytes], None]], bool] | ||
| ] = None, | ||
| ): | ||
| if add_object_out_of_scope_callback is None: | ||
| add_object_out_of_scope_callback = ( | ||
| global_worker.core_worker.add_object_out_of_scope_callback # pyrefly: ignore[missing-attribute] | ||
| ) | ||
| self._add_callback_fn = add_object_out_of_scope_callback |
There was a problem hiding this comment.
To prevent AttributeError when BlockRefCounter is instantiated in environments where Ray is not yet initialized (such as unit tests that don't start a Ray cluster), we should lazy-load the add_object_out_of_scope_callback from global_worker inside on_block_produced instead of resolving it immediately in __init__.
def __init__(
self,
add_object_out_of_scope_callback: Optional[
Callable[["ray.ObjectRef", Callable[[bytes], None]], bool]
] = None,
):
self._add_callback_fn = add_object_out_of_scope_callback| try: | ||
| registered = self._add_callback_fn(block_ref, _on_object_freed) |
There was a problem hiding this comment.
Lazy-load the default out-of-scope callback from global_worker if it was not explicitly provided during initialization.
| try: | |
| registered = self._add_callback_fn(block_ref, _on_object_freed) | |
| if self._add_callback_fn is None: | |
| self._add_callback_fn = ( | |
| global_worker.core_worker.add_object_out_of_scope_callback # pyrefly: ignore[missing-attribute] | |
| ) | |
| try: | |
| registered = self._add_callback_fn(block_ref, _on_object_freed) |
There was a problem hiding this comment.
Pull request overview
This PR removes per-executor _external_consumer_bytes accounting from ResourceManager and switches object-store memory attribution fully to the new BlockRefCounter (Ray Core out-of-scope callback based). It also simplifies “external consumer” tracking to a boolean flag used for OutputBackpressureGuard behavior distinctions (iterator-consumed vs write pipelines).
Changes:
- Replace
ResourceManagerobject-store usage estimation withBlockRefCounter-based per-operator accounting and remove external-consumer-bytes APIs. - Thread a shared
BlockRefCounterthroughStreamingExecutor→build_streaming_topology→PhysicalOperator.startand register produced blocks from tasks/operators. - Update iterator/stream-split paths and tests; add new BlockRefCounter lifecycle/thread-safety tests.
Reviewed changes
Copilot reviewed 37 out of 37 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| python/ray/data/_internal/execution/block_ref_counter.py | Introduces callback-based per-operator object-store byte accounting. |
| python/ray/data/_internal/execution/resource_manager.py | Removes _external_consumer_bytes; reads per-op bytes from BlockRefCounter. |
| python/ray/data/_internal/execution/streaming_executor.py | Creates/clears shared BlockRefCounter; replaces set_external_consumer_bytes with set_external_consumer. |
| python/ray/data/_internal/execution/streaming_executor_state.py | Requires shared BlockRefCounter for topology construction and passes it into op.start(). |
| python/ray/data/_internal/execution/interfaces/physical_operator.py | Adds shared counter plumbing to start() and DataOpTask, registering produced blocks on yield. |
| python/ray/data/_internal/execution/backpressure_policy/downstream_capacity_backpressure_policy.py | Terminal edge capacity now returns 0 (no longer consults external-consumer bytes). |
| python/ray/data/iterator.py | Registers external consumer via boolean only; removes prefetch-bytes callback wiring. |
| python/ray/data/_internal/iterator/stream_split_iterator.py | Registers external consumer via boolean only; removes prefetched-bytes reporting. |
| python/ray/data/_internal/execution/operators/map_operator.py | Passes shared counter + producer id into DataOpTask; updates start() signature. |
| python/ray/data/_internal/execution/operators/actor_pool_map_operator.py | Updates start() signature to accept shared counter. |
| python/ray/data/_internal/execution/operators/input_data_buffer.py | Updates start() signature to accept shared counter. |
| python/ray/data/_internal/execution/operators/union_operator.py | Updates start() signature to accept shared counter. |
| python/ray/data/_internal/execution/operators/output_splitter.py | Updates start() signature; registers produced/forwarded blocks for tracking. |
| python/ray/data/_internal/execution/operators/zip_operator.py | Registers zip-produced blocks for tracking. |
| python/ray/data/_internal/execution/operators/limit_operator.py | Registers sliced-output blocks for tracking. |
| python/ray/data/_internal/execution/operators/aggregate_num_rows.py | Registers produced aggregate block for tracking. |
| python/ray/data/_internal/execution/operators/base_physical_operator.py | Registers bulk-op outputs for tracking. |
| python/ray/data/_internal/execution/operators/shuffle_operators/shuffle_reduce_operator.py | Passes shared counter + producer id into DataOpTask; registers empty-partition output. |
| python/ray/data/_internal/execution/operators/shuffle_operators/shuffle_map_operator.py | Removes now-unused estimate_object_store_usage() override. |
| python/ray/data/_internal/execution/operators/hash_shuffle.py | Updates start() signature; passes shared counter + producer id into DataOpTask. |
| python/ray/data/_internal/gpu_shuffle/hash_shuffle.py | Updates start() signature; passes shared counter + producer id into DataOpTask. |
| python/ray/data/tests/conftest.py | Adds noop_counter() helper for tests that need a counter without a Ray cluster. |
| python/ray/data/tests/unit/test_block_ref_counter.py | Adds deterministic unit tests for BlockRefCounter accounting/clear/thread-safety. |
| python/ray/data/tests/test_block_ref_counter.py | Adds integration-style lifecycle tests against Ray Core callback behavior. |
| python/ray/data/tests/unit/test_resource_manager.py | Updates union attribution tests and introduces counter stubbing usage. |
| python/ray/data/tests/test_resource_manager.py | Updates ResourceManager tests for counter-based accounting and removes external-consumer-bytes tests. |
| python/ray/data/tests/test_streaming_executor.py | Updates topology construction and DataOpTask construction for new signatures. |
| python/ray/data/tests/test_downstream_capacity_backpressure_policy.py | Removes external-bytes mocking from test helper. |
| python/ray/data/tests/test_reservation_based_resource_allocator.py | Updates topology construction / ResourceManager construction signatures. |
| python/ray/data/tests/test_output_splitter.py | Updates start() calls to include BlockRefCounter. |
| python/ray/data/tests/test_operators.py | Updates start() calls to include BlockRefCounter. |
| python/ray/data/tests/test_map_operator.py | Updates start() calls to include BlockRefCounter. |
| python/ray/data/tests/test_limit_operator.py | Starts ops with a shared noop counter for manual operator driving. |
| python/ray/data/tests/test_gpu_shuffle.py | Sets operator _block_ref_counter for test setup consistency. |
| python/ray/data/tests/test_executor_resource_management.py | Updates start() calls to include BlockRefCounter. |
| python/ray/data/tests/test_actor_pool_map_operator.py | Updates start() calls; updates topology construction for new signature. |
| python/ray/data/BUILD.bazel | Adds Bazel py_test target for test_block_ref_counter. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| topo = build_streaming_topology(o2, ExecutionOptions(), noop_counter()) | ||
|
|
||
| resource_manager = ResourceManager( | ||
| topo, | ||
| ExecutionOptions(), | ||
| MagicMock(), | ||
| DataContext.get_current(), | ||
| BlockRefCounter(), | ||
| ) |
| topo = build_streaming_topology(o3, opt, noop_counter()) | ||
| resource_manager = ResourceManager( | ||
| topo, | ||
| ExecutionOptions(), | ||
| MagicMock(return_value=ExecutionResources.zero()), | ||
| DataContext.get_current(), | ||
| BlockRefCounter(), | ||
| ) |
| def set_usage(self, producer_id: str, bytes: int) -> None: | ||
| self._bytes_by_producer[producer_id] = bytes |
|
Close to change merge target. (Reopened because previous commits have merge target on master, so setting the target of this PR on dependent branches break file changes.) |
db236fb to
7db3bfb
Compare
Signed-off-by: Sirui Huang <[email protected]>
… docstring Signed-off-by: Sirui Huang <[email protected]>
…ounter Signed-off-by: Sirui Huang <[email protected]>
Signed-off-by: Sirui Huang <[email protected]>
Signed-off-by: Sirui Huang <[email protected]>
Signed-off-by: Sirui Huang <[email protected]>
Signed-off-by: Sirui Huang <[email protected]>
Signed-off-by: Sirui Huang <[email protected]>
Signed-off-by: Sirui Huang <[email protected]>
Signed-off-by: Sirui Huang <[email protected]>
Signed-off-by: Sirui Huang <[email protected]>
Signed-off-by: Sirui Huang <[email protected]>
…perator tests since _output_operator is removed Signed-off-by: Sirui Huang <[email protected]>
Signed-off-by: Sirui Huang <[email protected]>
Signed-off-by: Sirui Huang <[email protected]>
Signed-off-by: Sirui Huang <[email protected]>
Signed-off-by: Sirui Huang <[email protected]>
Signed-off-by: Sirui Huang <[email protected]>
justinvyu
left a comment
There was a problem hiding this comment.
Great work! 😄
A few things to fix:
- The PR description and title need to be updated to reflect the changes in this PR. Since we merged 4+5 together. It's misleading to only say that this PR is removing external consumer bytes.
- Do you have the tests asserting downstream capacity ratio calculation equivalence?
- Can you attach the summary of the regression testing results?
| if not op.output_dependencies: | ||
| # No output dependencies, return external consumer bytes. | ||
| return self._resource_manager.get_external_consumer_bytes() |
There was a problem hiding this comment.
LFG!! Great to remove this external consumer special case codepath!
As a note for the future, the reason why we can remove this is:
- Before this PR refactor series, we computed the final operator (output of the pipeline) as
final_op_outqueue + sum(external_consumer_bytes[c] for c in external_consumers)- This is because when we hand off the block from the data pipeline to the consumer, we immediately decrement on the outqueue byte tracking and then increment on the consumer side. (Though there were many issues with this that lead to incorrect accounting, see: [data] Fix
iter_batchesspilling (1/n): Remove outermake_async_gento reduce untracked buffered batches + reduce prefetch onto GPU #63660, [data] Fixiter_batchesspilling (2/n): Replace inner format/collatemake_async_genwithiter_threaded#63682)
- This is because when we hand off the block from the data pipeline to the consumer, we immediately decrement on the outqueue byte tracking and then increment on the consumer side. (Though there were many issues with this that lead to incorrect accounting, see: [data] Fix
- After this PR, the bytes of the final operator only get decremented when the block is fully freed from the object store (which happens once the (external) iterator consumes it and drops the final ref). So, the tracking is now just
final_op_byteswhich includes blocks still held in the pipeline outqueue as well as blocks sent over to external consumers.
| logger.debug( | ||
| "DownstreamCapacityBackpressurePolicy enabled with backpressure " | ||
| f"capacity ratio: {self._backpressure_capacity_ratio}" | ||
| f"Backpressure ratio: {self._backpressure_capacity_ratio}" |
There was a problem hiding this comment.
| f"Backpressure ratio: {self._backpressure_capacity_ratio}" | |
| f"ratio threshold: {self._backpressure_capacity_ratio}" |
There was a problem hiding this comment.
Applied in new commit!
| def _get_backpressure_ratio(self, op: "PhysicalOperator") -> float: | ||
| """Ratio of buffered output bytes to downstream capacity.""" |
There was a problem hiding this comment.
| def _get_backpressure_ratio(self, op: "PhysicalOperator") -> float: | |
| """Ratio of buffered output bytes to downstream capacity.""" | |
| def _get_output_pressure(self, op: "PhysicalOperator") -> float: | |
| """Calculate the output pressure of the current operator on the downstream operator. | |
| We estimate this with: `op_output_bytes / downstream_bytes_in_flight` | |
| If output_pressure == 0, the consumer may be starving for inputs. Don't apply backpressure. | |
| If output_pressure == 1, we have exactly one "batch" of prefetched outputs, and the pipeline should be flowing smoothly since the producer is keeping up. | |
| If output_pressure > THRESHOLD, the producer is outpacing the consumer significantly. Apply backpressure.""" |
There was a problem hiding this comment.
"backpressure ratio" is kind of a non-descriptive naming. Output pressure seems better. Open to brainstorming if you have some better ideas.
There was a problem hiding this comment.
"output pressure" is pretty good; I was using "output ratio" before going for "backpressure ratio" because it didn't really capture the role of this variable, but I think "output pressure" summarizes its role and also how it's derived quite well
| output_size_bytes = self._resource_manager.get_mem_op_outputs( | ||
| op, include_ineligible_downstream=True | ||
| ) | ||
| return (output_size_bytes / downstream_capacity_size_bytes) - 1 |
There was a problem hiding this comment.
Add a comment to explain this -1
output_pressure = op_outqueue_bytes / downstream_in_flight_input_bytes
output_size_bytes = (op_outqueue_bytes + downstream_in_flight_input_bytes)
output_pressure = (output_size_bytes - downstream_in_flight_input_bytes / downstream_in_flight_input_bytes) = output_size_bytes/downstream_in_flight_input_bytes - 1
There was a problem hiding this comment.
Applied in new commit!
rayhhome
left a comment
There was a problem hiding this comment.
Thanks for the review:
- Updated the PR description to include changes from [4/n]!
- There are unit tests that verify the new formula's correctness in
test_downstream_capacity_backpressure_policy.py(e.g._set_output_pressurewith known values and assert the policy generates the right decision); I didn't go with permanent equivalence assertions since it doesn't make sense to refer to the queue-based calculations in the tests, and using fixed values for assertions would just be checking the math of our implementation. For completeness, I added a section in the PR description summarizing the experiments I conducted to check formula equivalence between the old and the new approaches. - Added summaries of release test results in the PR description!
| def _get_backpressure_ratio(self, op: "PhysicalOperator") -> float: | ||
| """Ratio of buffered output bytes to downstream capacity.""" |
There was a problem hiding this comment.
"output pressure" is pretty good; I was using "output ratio" before going for "backpressure ratio" because it didn't really capture the role of this variable, but I think "output pressure" summarizes its role and also how it's derived quite well
| output_size_bytes = self._resource_manager.get_mem_op_outputs( | ||
| op, include_ineligible_downstream=True | ||
| ) | ||
| return (output_size_bytes / downstream_capacity_size_bytes) - 1 |
There was a problem hiding this comment.
Applied in new commit!
| logger.debug( | ||
| "DownstreamCapacityBackpressurePolicy enabled with backpressure " | ||
| f"capacity ratio: {self._backpressure_capacity_ratio}" | ||
| f"Backpressure ratio: {self._backpressure_capacity_ratio}" |
There was a problem hiding this comment.
Applied in new commit!
Signed-off-by: Sirui Huang <[email protected]>
BlockRefCounter for object store memory estimation
| def estimate_object_store_usage(self) -> int: | ||
| """Returns this operator's object store memory usage in bytes. | ||
|
|
||
| # TODO fix ineligible ops: this needs to include usage of all of OS | ||
| # for ineligible ops | ||
| # | ||
| # Outputs of this operator used downstream | ||
| used_op_outputs_bytes = sum( | ||
| ( | ||
| downstream_op.metrics.obj_store_mem_internal_inqueue_for_input( | ||
| downstream_op.input_dependencies.index(self) | ||
| ) | ||
| + downstream_op.metrics.obj_store_mem_pending_task_inputs | ||
| ) | ||
| for downstream_op in self.output_dependencies | ||
| ) | ||
| return ObjectStoreUsage( | ||
| internal=int(mem_op_internal), | ||
| outputs=int(op_outputs_bytes + used_op_outputs_bytes), | ||
| ) | ||
| ShuffleMapOperator overrides this since its outputs are intermediate | ||
| partitions managed by the reduce stage. | ||
| """ | ||
| return self._block_ref_counter.get_object_store_memory_usage(self.id) |
There was a problem hiding this comment.
Note: This is the main change of the PR, which moves from queue-based math to a single dict lookup based on producer id.
BlockRefCounter for object store memory estimationBlockRefCounter for object store memory estimation
…stimation (ray-project#64456) Switches `ResourceManager` object-store memory (OSM) tracking from queue-based accounting to `BlockRefCounter` (BRC) and removes the `_external_consumer_bytes` special-case path. --------- Signed-off-by: Sirui Huang <[email protected]> Signed-off-by: HFFuture <[email protected]> Co-authored-by: Claude Opus 4.6 (1M context) <[email protected]>
…ivate Backpressure (#65474) #64456 applies the block ref counter to track the object store memory and control backpressure signals based on downstream capacity, but this had lead to spilling in training pipelines. This is mainly due to backpressure not being applied to the terminal operator even though the external consumer is not consuming blocks quickly enough. This PR adds back the early return for `DownstreamCapacityBackpressurePolicy`'s `_get_downstream_capacity_size_bytes`, so that for terminal operators, the downstream capacity is the external consumer bytes tracked instead of 0. --------- Signed-off-by: Sirui Huang <[email protected]>
…stimation (ray-project#64456) Switches `ResourceManager` object-store memory (OSM) tracking from queue-based accounting to `BlockRefCounter` (BRC) and removes the `_external_consumer_bytes` special-case path. --------- Signed-off-by: Sirui Huang <[email protected]> Signed-off-by: HFFuture <[email protected]> Co-authored-by: Claude Opus 4.6 (1M context) <[email protected]> Signed-off-by: 400Ping <[email protected]>
…ivate Backpressure (ray-project#65474) ray-project#64456 applies the block ref counter to track the object store memory and control backpressure signals based on downstream capacity, but this had lead to spilling in training pipelines. This is mainly due to backpressure not being applied to the terminal operator even though the external consumer is not consuming blocks quickly enough. This PR adds back the early return for `DownstreamCapacityBackpressurePolicy`'s `_get_downstream_capacity_size_bytes`, so that for terminal operators, the downstream capacity is the external consumer bytes tracked instead of 0. --------- Signed-off-by: Sirui Huang <[email protected]> Signed-off-by: 400Ping <[email protected]>
`lightgbm_train_batch_inference_benchmark_100G` times out at 600s with `ReadParquet` pinned at `Tasks: 1 [backpressured:tasks(DownstreamCapacity)]`, turning a ~40s read into 400-560s. Since #64456 the resource manager tracks object store memory with `BlockRefCounter`, which counts a block until every reference to it is gone. The train loop calls `materialize()` on its shard (`train_batch_inference_benchmark.py:70`), so those blocks stay in the producing operator's ref-counted output and `DownstreamCapacityBackpressurePolicy` reads them as output waiting to be consumed. The ratio only grows, and the producer is throttled for memory it cannot release by slowing down. The consumer now reports what it holds, and the policy counts it as downstream capacity rather than as output waiting to be consumed. Accounting is unchanged; those bytes really are in the object store and still count toward every budget. --------- Signed-off-by: Sirui Huang <[email protected]>
) `lightgbm_train_batch_inference_benchmark_100G` times out at 600s with `ReadParquet` pinned at `Tasks: 1 [backpressured:tasks(DownstreamCapacity)]`, turning a ~40s read into 400-560s. Since ray-project#64456 the resource manager tracks object store memory with `BlockRefCounter`, which counts a block until every reference to it is gone. The train loop calls `materialize()` on its shard (`train_batch_inference_benchmark.py:70`), so those blocks stay in the producing operator's ref-counted output and `DownstreamCapacityBackpressurePolicy` reads them as output waiting to be consumed. The ratio only grows, and the producer is throttled for memory it cannot release by slowing down. The consumer now reports what it holds, and the policy counts it as downstream capacity rather than as output waiting to be consumed. Accounting is unchanged; those bytes really are in the object store and still count toward every budget. --------- Signed-off-by: Sirui Huang <[email protected]>
…stimation (ray-project#64456) Switches `ResourceManager` object-store memory (OSM) tracking from queue-based accounting to `BlockRefCounter` (BRC) and removes the `_external_consumer_bytes` special-case path. --------- Signed-off-by: Sirui Huang <[email protected]> Signed-off-by: HFFuture <[email protected]> Co-authored-by: Claude Opus 4.6 (1M context) <[email protected]>
…ivate Backpressure (ray-project#65474) ray-project#64456 applies the block ref counter to track the object store memory and control backpressure signals based on downstream capacity, but this had lead to spilling in training pipelines. This is mainly due to backpressure not being applied to the terminal operator even though the external consumer is not consuming blocks quickly enough. This PR adds back the early return for `DownstreamCapacityBackpressurePolicy`'s `_get_downstream_capacity_size_bytes`, so that for terminal operators, the downstream capacity is the external consumer bytes tracked instead of 0. --------- Signed-off-by: Sirui Huang <[email protected]>
) `lightgbm_train_batch_inference_benchmark_100G` times out at 600s with `ReadParquet` pinned at `Tasks: 1 [backpressured:tasks(DownstreamCapacity)]`, turning a ~40s read into 400-560s. Since ray-project#64456 the resource manager tracks object store memory with `BlockRefCounter`, which counts a block until every reference to it is gone. The train loop calls `materialize()` on its shard (`train_batch_inference_benchmark.py:70`), so those blocks stay in the producing operator's ref-counted output and `DownstreamCapacityBackpressurePolicy` reads them as output waiting to be consumed. The ratio only grows, and the producer is throttled for memory it cannot release by slowing down. The consumer now reports what it holds, and the policy counts it as downstream capacity rather than as output waiting to be consumed. Accounting is unchanged; those bytes really are in the object store and still count toward every budget. --------- Signed-off-by: Sirui Huang <[email protected]>
Description
Switches
ResourceManagerobject-store memory (OSM) tracking from queue-based accounting toBlockRefCounter(BRC) and removes the_external_consumer_bytesspecial-case path.ResourceManager OSM estimation
ResourceManager._estimate_object_store_memory_usagenow reads fromBlockRefCounterinstead of calling the old queue-basedop.estimate_object_store_usage(state). This is the only change visible to the scheduler; over/under-estimation here affects backpressure decisions. The benefits are twofold:Map->Limitpreviously needed to add together the bytes of multiple input/output queues for theMapandLimitoperator, even thoughMapis the only operator that introduced new outputs to the system.UnionMaps to be backpressured even though only one is overproducing.streaming_splitin the training ingest case) is no longer needed: the consumer holds anObjectRef, so the bytes remain attributed until the ref is dropped and the callback fires.Backpressure formula
The output pressure calculation in
DownstreamCapacityBackpressurePolicychanges fromoutput_queue_bytes / downstream_capacityto(get_mem_op_outputs / downstream_capacity) - 1. We useget_mem_op_outputs(BRC-based) rather thanget_op_usagebecauseget_op_usageincludespending_task_outputs, which can be large for heavy tasks and would over-backpressure. The-1accounts for BRC tracking all live blocks including those already in downstream'spending_task_inputs.Removal of
_external_consumer_bytesPreviously, handing a block to an external consumer required an explicit
set_external_consumer_bytescall from the iterator to keep the memory budget accurate. With BRC this is no longer needed. We still keep aset_external_consumer(True)which is used by a liveness escape hatch.Tests
test_downstream_capacity_backpressure_policy.pywith BRC-based output pressure logic and renamed helpers.test_resource_manager.pyandunit/test_resource_manager.pyto validate_estimate_object_store_memory_usageagainst BRC accounting. Removedtest_external_consumer_bytes_*tests that tested the removed path. Addedtest_external_consumer_bytes_not_double_countedandtest_union_no_double_counting.test_backpressure_e2e.py,test_streaming_integration.py) implicitly cover the behavioral change.Formula equivalence validation
We added temporary instrumentation in
ResourceManager.update_usages()comparing the new BRC value against the old queue-based formula for each operator on every scheduling loop iteration, and ran it across ~800 release test jobs:Results:
ShuffleMapOperatorreturning 0 by design (its outputs are intermediate partitions managed by the reduce stage), and terminal Sort operator blocks consumed bymaterialize()that are alive in BRC but no longer in any executor queue.Regression testing summary
Across 8 PR builds and 8 master builds, all benchmark averages fall within master's min-max range or within 5% of it. Scanning all 206 test jobs in the latest PR build, only 3 triggered
DownstreamCapacityBackpressurePolicy, none of which showed regression.Related issues
Depends on #64191 ([3/n] operator wiring).
Related to #63601 (prototype), #63074 (previous manual
BlockRefCounter).