-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
teamcity: failed test: TestParallel invalid retryable err #40328
Comments
|
This seems pretty straightforward, cockroach/pkg/roachpb/errors.go Lines 793 to 799 in e99ffed
but then we don't handle it properly where the assertion fails in handleRetryableErrLocked. Is that all there is to it @nvanbenschoten? |
Closes cockroachdb#40328. Release note: None
How did this error get past the |
40356: kv: unwrap MixedSuccessError even when retry attempts exhausted r=nvanbenschoten a=nvanbenschoten Fixes #40328. Closes #40332. This commit fixes a bug where MixedSuccessErrors would not be unwrapped by the txnSpanRefresher when a request had exhausted its refresh attempt limit. The theory is that the race test plus the background stats computation in `TestParallel/create_stats` was causing a lot of transaction retries, which exhausted `maxTxnRefreshAttempts`. The PR also improves the documentation on the `txnSpanRefresher`. It adds a comment describing the interceptors role in the transaction model, which is similar to the comments we have on the other interceptors. Co-authored-by: Nathan VanBenschoten <nvanbenschoten@gmail.com>
The following tests appear to have failed on master (testrace): TestParallel, TestParallel/create_stats
You may want to check for open issues.
#1459621:
Please assign, take a look and update the issue accordingly.
The text was updated successfully, but these errors were encountered: