-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
105591: tenantcostclient: support changing ru settings r=JeffSwenson a=JeffSwenson Previously, there was no way to change the RU cost settings for a stand alone sql server. The setting values are stored in the kv server and initialized by the settings watcher in the sql server. The cost client only respected the values of settings at the time of creating the cost client, which happened as part of creating the kv client, which is required by the settings watcher to read the settings from the kv layer. So there is no way to initialize the cost client with the actual settings value. Now, the tenantcostclient will update the model whenever the value of settings change, including when the settings are first read during sql server startup. Part of: https://cockroachlabs.atlassian.net/browse/CC-7140 Release Note: None 106630: sql/sem/builtins: deflake TestSerialNormalizationWithUniqueUnorderedID r=rafiss a=andyyang890 This patch increases the sample count for a probabilistic test that tests for uniform distribution so that it is less likely to flake. Fixes #106580 Release note: None Co-authored-by: Jeff <swenson@cockroachlabs.com> Co-authored-by: Andy Yang <yang@cockroachlabs.com>
- Loading branch information
Showing
4 changed files
with
154 additions
and
10 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