-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
obs, roachprod, rpc, spanconfig, storage, testutils: cleanup lock usages
This PR updates unsafe/unnecessary manual unlocks to defer unlocks. The criteria for leaving some unlocks as is: - will not cause a leak - releases the resources much earlier - deferring will cause a deadlock without significant refactor Part of #107946 Release note: None
- Loading branch information
1 parent
6a31120
commit 8e02a8a
Showing
9 changed files
with
218 additions
and
156 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.