forked from redpanda-data/redpanda
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
r/group_manager: do not hold mutex when shutting down consensus
Individual raft groups shutdown operations are not correlated and do not need coordination with mutex. The `group_manager::_groups` vector is always updated in synchronous parts of code therefore it do not require the mutex either. Removed the mutex to make shutting down different Raft groups independent from each other. Fixes CORE-5686 Signed-off-by: Michał Maślanka <michal@redpanda.com>
- Loading branch information
1 parent
5f457ef
commit e0236f6
Showing
2 changed files
with
34 additions
and
33 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