-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Labels
Component: VTOrcVitess Orchestrator integrationVitess Orchestrator integrationType: EnhancementLogical improvement (somewhere between a bug and feature)Logical improvement (somewhere between a bug and feature)
Description
Feature Description
VTOrc currently supports scoping its monitoring to specific keyspaces/shards via --clusters-to-watch, but there is no way to scope it by cell. In multi-cell deployments, operators may want to run separate VTOrc instances that each monitor only a subset of cells.
This proposes adding a --cells-to-watch flag that accepts a comma-separated list of cells. When set, VTOrc will only discover and monitor tablets in the specified cells. When unset, the existing behavior of watching all cells is preserved. The flag works in combination with --clusters-to-watch — both filters are applied when both are set.
Use Case(s)
- Running different Vitess versions in different cells and needing version-matched VTOrc instances to prevent cross-version recovery operations. This is our use case at HubSpot.
- Reducing expensive topo reads by limiting VTOrc to only fetch tablets from specified cells instead of all known cells (see RFC: VTOrc to support cell locality #18982)
- Running a dedicated VTOrc instance per cell/region to reduce blast radius and improve isolation
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Component: VTOrcVitess Orchestrator integrationVitess Orchestrator integrationType: EnhancementLogical improvement (somewhere between a bug and feature)Logical improvement (somewhere between a bug and feature)