Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
62163: contention: properly protect AddContentionEvent by mutex r=yuzefovich a=yuzefovich Whenever we're adding a contention event to the registry, we need to acquire the lock. Previously, we correctly did so for SQL keys but forgot to do so for non-SQL keys (the support for which has been recently added). This commit fixes that issue. Fixes: #62160. Release note: None (no stable release with the bug) Co-authored-by: Yahor Yuzefovich <yahor@cockroachlabs.com>
- Loading branch information