Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v24.1.x] CORE-5686 Decouple different raft group shutdown sequences #22768

Merged

Conversation

mmaslankaprv
Copy link
Member

Backport of PR #21517

Added a log entry when partition is removed to make debugging partition
shutdown issues easier.

Signed-off-by: Michał Maślanka <michal@redpanda.com>
(cherry picked from commit 5f457ef)
@mmaslankaprv mmaslankaprv added this to the v24.1.x-next milestone Aug 7, 2024
@mmaslankaprv mmaslankaprv added the kind/backport PRs targeting a stable branch label Aug 7, 2024
@mmaslankaprv mmaslankaprv marked this pull request as ready for review August 7, 2024 09:09
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>
(cherry picked from commit e0236f6)
@mmaslankaprv mmaslankaprv force-pushed the backport-21517-v24.1.x-88 branch from ed83ab8 to adf2c8c Compare August 7, 2024 12:19
@mmaslankaprv mmaslankaprv merged commit 976f936 into redpanda-data:v24.1.x Aug 8, 2024
17 checks passed
@piyushredpanda piyushredpanda modified the milestones: v24.1.x-next, v24.1.15 Aug 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/redpanda kind/backport PRs targeting a stable branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[v24.1.x] CORE-5686 Decouple different raft group shutdown sequences
3 participants