-
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
sql: unskip TestSplitAt #30623
sql: unskip TestSplitAt #30623
Conversation
The failure was fixed in cockroachdb#29324. Closes cockroachdb#29169. Release note: None
Reliably hits a data race:
|
This is interesting. I think the test tickles that race because it doesn't turn off range merges (which it supposedly wants to do to work better). The AdminMerge txn somehow leaks its txn into the contention queue where it is read by another waiting txn while the DistSender mutates it (in a returning request from the merge txn). |
When a pusher would write a new intent, it would previously sent its own *TxnMeta to the next pusher. However, it would also possibly mutate it higher up the stack (for example combining multiple responses in DistSender). Make a copy instead. Release note: None
1a3e41e
to
85d5ab6
Compare
Ok, fixed the data race. And the test is well aware of range merges and in fact turns them on and off on purpose. So this should be good to go now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 1 of 1 files at r1, 1 of 1 files at r2.
Reviewable status: complete! 0 of 0 LGTMs obtained (and 1 stale)
bors r=nvanbenschoten |
Build succeeded |
The failure was fixed in #29324.
Closes #29169.
Release note: None