-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
kv/kvserver: TestTxnClearRangeIntents failed #64088
Comments
Refs: cockroachdb#64088 Reason: flaky test Generated by bin/skip-test. Release justification: non-production code changes Release note: None
64090: kv/kvserver: skip TestTxnClearRangeIntents under race r=sumeerbhola a=sumeerbhola Refs: #64088 Reason: flaky test Generated by bin/skip-test. Release justification: non-production code changes Release note: None 64091: kv/kvserver: skip TestMergeQueue r=sumeerbhola a=sumeerbhola Refs: #64056 Reason: flaky test Generated by bin/skip-test. Release justification: non-production code changes Release note: None Co-authored-by: sumeerbhola <[email protected]>
kv/kvserver.TestTxnClearRangeIntents failed with artifacts on master @ 97955d46cef43897f0281b336e521bc89a5fa400:
Reproduce
To reproduce, try: make stressrace TESTS=TestTxnClearRangeIntents PKG=./pkg/kv/kvserver TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 Parameters in this failure:
|
kv/kvserver.TestTxnClearRangeIntents failed with artifacts on master @ ea6dc019d083434e0df6b3181efc7522405f79b6:
Reproduce
To reproduce, try: make stressrace TESTS=TestTxnClearRangeIntents PKG=./pkg/kv/kvserver TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 Parameters in this failure:
|
This fails because race builds enable spanset assertions: cockroach/pkg/kv/kvserver/replica_eval_context.go Lines 39 to 44 in bc52ebf
Under
@sumeerbhola A naïve solution is to simply add the intent keys to the span declarations for cockroach/pkg/kv/kvserver/batcheval/cmd_clear_range.go Lines 38 to 48 in 8f8c02a
|
@sumeerbhola Just a reminder about this, would appreciate your input. |
thanks for pinging -- I somehow missed this. You are right that This doesn't occur in the usual use of The difficulty in fixing this properly is that in general someone constructing an |
Thanks for the detailed explanation @sumeerbhola, I submitted a draft in #65124 (without any tests or perf considerations). Is this roughly what you had in mind? |
kv/kvserver.TestTxnClearRangeIntents failed with artifacts on master @ ee8b38ef3e0f7a41ae277c127bb9db5989ef47d0:
Reproduce
To reproduce, try:
Parameters in this failure:
This test on roachdash | Improve this report!
The text was updated successfully, but these errors were encountered: