-
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.
Browse files
Browse the repository at this point in the history
109781: spanconfig: pass SpanConfig by pointer r=arulajmani a=andrewbaptist Note: Only the last 2 commits are only in this PR. SpanConfig can be a large object and it is more efficient to pass by pointer now that it goes through multiple layers of code. Epic: none Release note: None 111090: kvcoord: fix flake in `TestTransactionUnexpectedlyCommitted` r=AlexTalks a=AlexTalks The `TestTransactionUnexpectedlyCommitted/recovery_after_transfer_lease` test, introduced to test #107658, has been flaky (particularly under deadlock builds) due to a race condition between a retry of a write and intent resolution. While both orderings in this test result in a correct `AmbiguousResultError` for the client, when intent resolution wins the race, the retried write will attempt to push away the current lockholder; since it is illegal for a committed transaction to perform a push, this results in a different secondary error attached to the `AmbiguousResultError`. This change ensures a predefined ordering of these operations so that the secondary error is consistent across runs of the test. Fixes: #110187 Release note: None 111369: clusterversion: fix formatting of versions comment r=RaduBerinde a=RaduBerinde Some of the formatting in this big comment is getting screwed up by gofmt. This change fixes it - the trick was to make sure the "sub lists" are all indented by a tab so it's all treated like a big code block. Epic: none Release note: None 111372: roachtest: fix leaked goroutines in c2c roachtests r=lidorcarmel a=lidorcarmel Without this PR, c2c roachtests have almost 30 messages like these at the end: ``` 18:04:19 leaktest.go:161: Leaked goroutine: goroutine 1879 [select, 2 minutes]: database/sql.(*DB).connectionOpener(0xc003f2bc70, {0x10812e000, 0xc00059d220}) GOROOT/src/database/sql/sql.go:1218 +0x8d created by database/sql.OpenDB GOROOT/src/database/sql/sql.go:791 +0x18d ``` This PR cleans that up. Epic: none Release note: None Co-authored-by: Andrew Baptist <[email protected]> Co-authored-by: Alex Sarkesian <[email protected]> Co-authored-by: Radu Berinde <[email protected]> Co-authored-by: Lidor Carmel <[email protected]>
- Loading branch information
Showing
34 changed files
with
249 additions
and
214 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.