-
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.
77642: sql: backend changes to surface unused index recommendations r=THardy98 a=THardy98 This change introduces backend changes to surface drop index recommendations for unused indices. As a first iteration, this change implements a naive approach where we compute index recommendations ad-hoc on request (for the database details, table details, and index usage stats requests), and offers no persistence. Release note (api change): Added logic to support dropping unused index recommendations. 78034: [CRDB-13198] ui, server: update cluster settings to include last update time r=Santamaura a=Santamaura Resolves #76626 Previously it was difficult to determine from the cluster settings page which settings have been altered. This patch updates the cluster settings endpoint to include a last updated field, indicating when the setting was last altered, which allows the settings page to include that column in the table and is pre-sorted by this value. Release note: None Release justification: Fairly minor changes for QoL upgrade ![Screen Shot 2022-03-21 at 10 42 27 AM](https://user-images.githubusercontent.com/17861665/159289222-28970bbe-cac0-4003-853b-35e619908f0f.png) 78532: clusterversion: introduce version key for `crdb_internal.cluster_locks` r=AlexTalks a=AlexTalks This change adds a new cluster version to enable usage of the virtual table `crdb_internal.cluster_locks`, so that we can disable usage of new KV `QueryLocksRequest` API on cluster versions prior to 22.1. Release note: None Release justification: introduces a new cluster version without any logic changes 78631: lease: add a defensive check for nil-ness r=Xiang-Gu a=Xiang-Gu Previously, return from mananger.findDescriptorState is used directly without checking nil-ness. It seems the original author assumed the that return will never be nil. It will be safer to check nil-ness. Release note: None Co-authored-by: Thomas Hardy <[email protected]> Co-authored-by: Santamaura <[email protected]> Co-authored-by: Alex Sarkesian <[email protected]> Co-authored-by: Xiang Gu <[email protected]>
- Loading branch information
Showing
25 changed files
with
734 additions
and
50 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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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.