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] tests/controller_snapshot: fix no-op controller leadership transfers #21477

Merged

Conversation

vbotbuildovich
Copy link
Collaborator

Backport of PR #21428
Fixes: #21476,

Sometimes new controller leader won't be elected until a few seconds
after a controller restart. This can confuse subsequent leadership
transfers that will try to move controller leadership to the old
controller and falsely think that it will be a no-op. Wait for the new
leader after the joiner node is restarted to fix that.

Fixes redpanda-data#20572

(cherry picked from commit 028199e)
@vbotbuildovich vbotbuildovich added this to the v24.1.x-next milestone Jul 17, 2024
@vbotbuildovich vbotbuildovich added the kind/backport PRs targeting a stable branch label Jul 17, 2024
@vbotbuildovich vbotbuildovich requested a review from ztlpn July 17, 2024 12:20
@ztlpn ztlpn merged commit 4ce043f into redpanda-data:v24.1.x Jul 17, 2024
17 checks passed
@BenPope BenPope modified the milestones: v24.1.x-next, v24.1.11 Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/backport PRs targeting a stable branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants