Skip to main content

native_raw_plan_bounds_region_reads

Function native_raw_plan_bounds_region_reads 

Source
pub(crate) fn native_raw_plan_bounds_region_reads(
    plan: &Arc<dyn ExecutionPlan>,
) -> bool
Expand description

Whether this executable plan is the native raw PromQL topology, the one plan shape whose region reads one query-wide body budget cannot deadlock.

That topology is a chain of [FusedSeriesExec] nodes over region reads, and each fused node polls its input while that input is being drained, so a region body holding a permit keeps making progress. Admission stops there: a plan with any other multi-input node keeps its per-scan bounds only.