Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
admission: lock work queue before reading waiting length
When replicated work is submitted for admission, it returns early and admission proceeds asynchronously to the caller. When `V(1)` is enabled, we also log the current queue length in this code path, which is protected by a mutex that wasn't acquired previously. Acquire the queue mutex when `V(1)` is enabled to prevent a race. Part of: #130187 Release note: None
- Loading branch information