Skip to content
lake
Browse this documentation section

Per-tenant Query admission plan

Goal

Prevent one authenticated tenant from consuming every planning, execution, discovery, or async-result download slot on a Query replica while retaining the existing aggregate process ceiling.

Invariants

Configuration

Sequence

  1. Add concurrency and lifecycle tests that fail against the global-only gate.
  2. Add the bounded weak tenant-gate registry and dual RAII permit.
  3. Thread authenticated principals through every admission call.
  4. Add startup validation, deployment defaults, metrics, and documentation.
  5. Run the spec lifecycle and full gate before merge.