kvserver/reports: SREs can't use replication reports to check application of tenant zone configs #82881
Labels
A-kv-replication
Relating to Raft, consensus, and coordination.
A-multitenancy
Related to multi-tenancy
A-zone-configs
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
T-kv
KV Team
Describe the problem
The code in
kvserver/reports/reporter.go
,zoneResolver
, useskeys.TODOSQLCodec
to reverse-engineer which zone configs apply to which ranges.This means the code is not able to distinguish data for secondary tenants.
Expected behavior
The replication reports should check the tenant-specific zone configs applying to each secondary tenant.
Presumably, the replication reports should not use the zone config data in SystemConfigSpan any more, and instead use the new span config infrastructure.
Slack discussion here.
UX considerations
The primary goal of this issue is to make the cross-tenant replication works in the system tenant.
We can have a separate discussion about whether we want per-tenant replication reports as well. This is out of scope here.
Epic CRDB-10630
Jira issue: CRDB-16708
The text was updated successfully, but these errors were encountered: