server: use in-memory cache of tenant info in server controller #107827
Labels
A-multitenancy
Related to multi-tenancy
C-enhancement
Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
T-multitenant
Issues owned by the multi-tenant virtual team
Currently the code in server controller is using a periodic SQL poll loop to inspect the service mode of runnable tenants.
Since #106414 was merged, we now have a rangefeed-enabled cache of this state. So the SQL polling loop can be removed.
As a side benefit, this also makes it possible for the server controller to identify servers by tenant ID instead of by name.
Epic: CRDB-26691
Jira issue: CRDB-30208
The text was updated successfully, but these errors were encountered: