Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sql: fix TestValidationWithProtectedTS flake #123750

Merged
merged 1 commit into from
May 9, 2024

Conversation

fqazi
Copy link
Collaborator

@fqazi fqazi commented May 7, 2024

Previously, the test TestValidationWithProtectedTS would hang if a Ggio routine would hit an error, since a channel would not be posted on a error. It would also not gracefully handle TS after replica GC errors on transactions, which could happen on overloaded machines. To address this patch makes the test more resilient to the Go routine hitting errors so that it doesn't time out, and adds retry logic for TS after replica GC errors.

Fixes: #123447
Release note: None

Previously, the test TestValidationWithProtectedTS would hang if a Go
routine would hit an error, since a channel would not be posted. It
would also not gracefully handle TS after replica GC errors on
transactions, which could happen on overloaded machines. To address this
patch makes the test more resilient to the Go routine hitting errors so
that it doesn't time out, and adds retry logic for TS after replica GC
errors.

Fixes: cockroachdb#123447
Release note: None
@fqazi fqazi requested a review from a team as a code owner May 7, 2024 15:57
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@fqazi
Copy link
Collaborator Author

fqazi commented May 9, 2024

@rafiss TFTR!

bors r+

@craig craig bot merged commit 8042adf into cockroachdb:master May 9, 2024
22 checks passed
@rafiss
Copy link
Collaborator

rafiss commented May 14, 2024

blathers backport 24.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

sql: TestValidationWithProtectedTS failed
3 participants