-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
69501: liveness: make CreateLivenessRecord retry on a TransactionError r=lunevalex a=lunevalex Fixes #50977 CreateLivenessRecord has no fault tolerance built in, which makes the server startup facility flaky. The startup procesure allocates a nodeId, storeId and then creates a liveness record. If there is a hiccup or brief period of unavailability during the liveness creation we end up cycing through node/store ids which is undesirable. This made the TestRemoveDeadReplicas test flaky because nodes ended up cycling through a few node ids on startup, making it no possible to match epected node ids with the actual ones. To fix this issue we retry liveness creation when it encounters an AmbigiousError or TransactionError. This is similar behavior to the update code path for the liveness record. Release note: None 71736: roachtest: fix schemachange/during/kv r=ajwerner a=otan Resolves #71608 Some more fallout from the PRIMARY KEY rename. Release note: None 71762: ui: update url params when switching tabs on sql activity r=maryliag a=maryliag When the user clicks on a tab on the new SQL Activity page now the search params on the url is updated with the tab selection. This commit also create a common function to sync history so all the pages can use it and remove duplicate code. Release note: None Co-authored-by: Alex Lunev <[email protected]> Co-authored-by: Oliver Tan <[email protected]> Co-authored-by: Marylia Gutierrez <[email protected]>
- Loading branch information
Showing
13 changed files
with
276 additions
and
184 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
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.