cockroachdb / cockroachdb/cockroach

sql,o11y: Add built-in for triggering table metadata update job

Open
#136,033 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.