-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
server: create api to trigger table metadata update job
adds a new API v2 endpoint, `POST /api/v2/table_metadata/updatejob`. This new API will trigger the table metadata update job to run and refresh the system.table_metadata table. This will only trigger the job if it isn't already running. If the `?onlyIfStale` query param is provided, the job won't be triggered unless deemed stale, determined by the following setting: `obs.tablemetadata.data_valid_duration` note that `onlyIfStale` with any value other then `false` will be treated as true. Resolves: #128897 Epic: CRDB-37558 Release note: None
- Loading branch information
1 parent
d644373
commit c992988
Showing
14 changed files
with
261 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.