sql: creating / dropping the same user concurrently can cause a deadlock #75236
Labels
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
T-sql-foundations
SQL Foundations Team (formerly SQL Schema + SQL Sessions)
Likely the cause of this issue:
#74271 (comment)
This roachtest here non-deterministically reproduces the deadlock.
https://github.com/RichardJCai/cockroach/blob/create_user_concurrent_test/pkg/cmd/roachtest/tests/create_user_concurrent.go
Only tried on 21.2 since #74271 is failing on 21.2
Update: It repros on master as well.
Jira issue: CRDB-12524
The text was updated successfully, but these errors were encountered: