server: store instance ID and network addresses of SQL pods #64475
Labels
A-cc-enablement
Pertains to current CC production issues or short-term projects
A-cli-server
CLI commands that pertain to CockroachDB server processes
A-multitenancy
Related to multi-tenancy
A-server-networking
Pertains to network addressing,routing,initialization
C-enhancement
Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
X-server-triaged-202105
Since we wish to create RPC fan-outs from one SQL pod process to another (to implement cross-pods HTTP APIs), we need to store and retrieve the network addresses of SQL pods within a tenant.
Today, the SQL pods for a given tenant do not know their respective identities (instance IDs, see #64474) nor their network addresses.
This should be solved by storing the instance ID and pod network addresses inside a per-tenant system table. Perhaps
system.sqlliveness
can be used for this purpose, or perhaps a new system table needs to be created.Epic: CRDB-8505
The text was updated successfully, but these errors were encountered: