Skip to content

First observation window plan is permanent — richer plans from later windows are silently dropped #305

@milindsrivastava1997

Description

@milindsrivastava1997

The query tracker applies the plan from the first successful planner call and never updates it. An applied flag is set on first success; all subsequent planner results are discarded with "plan already applied; skipping re-apply (repeated-reconfig not yet implemented)".

If the first window contains few or low-value queries (e.g. background probes, not the real Grafana workload), the resulting sparse or empty plan is locked in permanently. Later windows compute richer plans but they are never activated, so destination=asap never appears even though the planner keeps succeeding.

Relevant code: QueryTracker::evaluate in asap-query-engine/src/query_tracker/tracker.rs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions