reports: generate replication reports for secondary tenants #70557
Labels
A-multitenancy
Related to multi-tenancy
A-sql-observability
Related to observability of the SQL layer
A-zone-configs
C-enhancement
Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
#66348 outlined a scheme to support zone configs for secondary tenants; we've implemented an MVP as part of #67679. One thing we skipped was replication reports and generating them for secondary tenants. The code generating these reports today sits under pkg/kv/kvserver/reports, and is very tightly coupled to the system config span (so it only works for the system tenant). We want to generate these same reports for secondary tenants. Probably we can hoist all that code out of pkg/kv, strip out the dependency on
config.SystemSystem
, generate them within the pods by power it using a view oversystem.{descriptor,zones}
. To generate these reports, we need access to store descriptors and node liveness; we could expose RPCs through theConnector
interface to retrieve these. (We should probably only export the portions relevant to these reports.)Jira issue: CRDB-10117
The text was updated successfully, but these errors were encountered: