sql: construct and maintain in-memory state to tack tenants sql-zcfgs/kv-scfgs #66612
Labels
A-multitenancy
Related to multi-tenancy
A-zone-configs
C-enhancement
Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
Is your feature request related to a problem? Please describe.
As part of #66348, every sql pod will be responsible for reconciling sql-zcfgs to kv-scfgs. To do so, the sql pod would maintain an in-memory structure that captures descriptor hierarchies, the tenant's sql-zcfg information, the desired kv-scfgs state, and the actual kv-scfgs state. I'm tentatively calling this
ZoneConfigReconciliationState
.The
ZoneConfigReconciliationState
should be able to react to zone configuration/descriptor updates. This would allow us to hook this thing up to a rangefeed on these tables later.Additionally, the
ZoneConfigReconciliationState
should also be able to hydrate zone configurations by following up inheritance chains, construct span configurations, and find deltas between two sets of span configs.The text was updated successfully, but these errors were encountered: