cockroachdb / cockroachdb/cockroach
sql,o11y: Add built-in for triggering table metadata update job
Open
C-enhancement
T-observability
- Dominant language
- Go
- Stars
- 32.5k
- Forks
- 4.1k
- PR merge metrics
- PR metrics pending
Description
We should add a built-in to allow users to trigger the table metadata update job via sql. This built-in should invoke `statusServer.UpdateTableMetadataCache`.
Note that this api requires the admin privilege, so no additional privilege checking is needed.
Jira issue: CRDB-44830
Contributor guide
Assessment
This issue has not been assessed yet.