Skip to content

refactor(runtime): install one ActivePhysicalPlan snapshot - #471

Merged
zzylol merged 1 commit into
mainfrom
refactor/active-physical-plan-snapshot
Sep 3, 2026
Merged

zzylol merged 1 commit into
mainfrom
refactor/active-physical-plan-snapshot

Conversation

@zzylol

@zzylol zzylol commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Summary

  • introduce one ArcSwap-backed ActivePhysicalPlan generation
  • project precompute, query BackendPlan, and storage routing views from that shared snapshot
  • make /api/v1/physical-plan perform one generation-fenced swap
  • wire the production backend through the shared active-plan handle
  • retain standalone legacy handles only for compatibility tests and startup paths

Stacked on #470.

@zzylol
zzylol force-pushed the refactor/active-physical-plan-snapshot branch from 0a927b3 to 5c16253 Compare September 3, 2026 02:51
@zzylol
zzylol changed the base branch from fix/physical-plan-correctness to main September 3, 2026 02:54
@zzylol
zzylol merged commit d1498fd into main Sep 3, 2026
1 check passed
@zzylol
zzylol deleted the refactor/active-physical-plan-snapshot branch September 12, 2026 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant