You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[C++][Acero] Create BackpressureSource and BackpressureCombiner #47385
Some ExecNodes require handling multiple sources of backpressure. I propose providing genalized BackpressureCombiner that will allow handling of multiple BackpressureCombiner::Sources.
Source can be connected to BackpressureCombiners in many to many pattern. In ExecNode BackpressureCombiner would handle one input of exec node. Source take backpressure from output and any additional internal queues can provide extra Sources. Connections from Sources to Combiner would be created at runtime during init.
Example configurations:
1 x Source-> N x BackpressureCombiner - UnionNode case - propagate output backpressure to all inputs
N x Source-> 1 x BackpressureCombiner - TeeNode case - propagate output backpressure and writer backpressure to input
Additionally the Source-BackpressureCombiner connections can be defined as strong or weak.
Strong connection will always propagate pause upstream.
Weak connection will propagate pause only if all sources with weak connections are paused.
This should allow to cover all possible backpressure propagation schemes - this will be especially useful with pipe concept.
changed the title [-]Create BackpressureSource and BackpressureCombiner[/-][+][C++][Acero] Create BackpressureSource and BackpressureCombiner[/+]on Aug 21, 2025
Activity
[-]Create BackpressureSource and BackpressureCombiner[/-][+][C++][Acero] Create BackpressureSource and BackpressureCombiner[/+]