-
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.
59196: ui: show correct zone config r=dhartunian a=nkodali Previously on the table detail page in DB Console, the default zone config for the db was shown, rather than any table level settings. Additionally, constraints and lease preferences were not being serialized properly, displaying as "...Object object..." This fixes both of those bugs. The display for the zone configuration statement is additionally updated to show the actual SQL statement to replicate the zone config in the SQL shell. Previously an invalid statement "CONFIGURE ZONE USING..." was displayed. Resolves #57896. See also: https://github.com/cockroachlabs/support/issues/737. See also: https://github.com/cockroachlabs/support/issues/727. Release note (bug fix): Fixed a bug introduced in v20.1 in DB Console where incorrect zone configuration values were shown on the table details page and constraints and lease preferences were not displayed. Release note (ui change): Updates the table details page to show table specific zone configuration values when set, show constraints and lease preferences, and display a valid statement to re-configure zone configuration for that table. 59265: kvserver: cleanup store.go to remove functions exposed because cfg was private r=tbg a=lunevalex A lot of tests required things from StoreConfig, which was previously private on the Store. Now that #59059 exposed the StoreConfig, we can clean up some of this and remove the extra getters added to extract things from the config for example NodeLiveness, Raft settings etc. Release note: None 59280: kvserver: replace multiTestContext with TestCluster/TestServer in node_liveness_test r=tbg a=lunevalex Makes progress on #8299 multiTestContext is a legacy construct that is deprecated in favor of running tests via TestCluster. This is one PR out of many to remove the usage of multiTestContext in the node_liveness_test test cases. Release note: None Co-authored-by: Namrata Kodali <[email protected]> Co-authored-by: Alex Lunev <[email protected]>
- Loading branch information
Showing
15 changed files
with
930 additions
and
690 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.