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

[v23.1.x] r/group_manager: protect against race with set_ready() #16085

Merged
merged 1 commit into from
Jan 12, 2024

Conversation

ztlpn
Copy link
Contributor

@ztlpn ztlpn commented Jan 12, 2024

Backport of PR #16068

Fixes #16081

set_ready() may race with group creation if it is called after a
consensus instance is created, but before it is added to the _groups
collection.

(cherry picked from commit 8139e1e)

Conflicts:
	src/v/raft/group_manager.cc
@ztlpn ztlpn added this to the v23.1.x-next milestone Jan 12, 2024
@ztlpn ztlpn added the kind/backport PRs targeting a stable branch label Jan 12, 2024
@ztlpn ztlpn linked an issue Jan 12, 2024 that may be closed by this pull request
@ztlpn ztlpn marked this pull request as ready for review January 12, 2024 12:52
@ztlpn
Copy link
Contributor Author

ztlpn commented Jan 12, 2024

error is #13159

@ztlpn ztlpn merged commit d5b405b into redpanda-data:v23.1.x Jan 12, 2024
24 checks passed
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.

[v23.1.x] r/group_manager: protect against race with set_ready()
2 participants