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

[v22.1.x] kafka/server: run activate_feature in background #4564

Merged

Conversation

vbotbuildovich
Copy link
Collaborator

@vbotbuildovich vbotbuildovich commented May 4, 2022

Backport from pull request: #4474
Fixes #4563

Also includes backport for: #4547 which is a test for #4474

Some unit tests does not finish, because background tasks for
group_migration_metadata does not get request abort

(cherry picked from commit 5fbe5aa)
Ufter upgrading node in cluster to 22.1.x version from 22.11.x
upgraded node isn't controller leade, it enters group_metadata_migration::start
and hits the "kafka_internal/group topic does not exists, activating" path
this call waits for activate_feature,activate_feature loops until the feature is active,
but it cannot be activated because only the controller leader runs the feature_manager
logic for activating features, and the controller leader is a 21.11.x node
that doesn't have the code. The node remains in 'booting' state indefinitely

Fixes: redpanda-data#4469
(cherry picked from commit b7fb5bd)
@vbotbuildovich vbotbuildovich added this to the v22.1.1 milestone May 4, 2022
@vbotbuildovich vbotbuildovich added the kind/backport PRs targeting a stable branch label May 4, 2022
Signed-off-by: Michal Maslanka <[email protected]>
(cherry picked from commit dc4f77c)
@dotnwat dotnwat marked this pull request as ready for review May 4, 2022 23:51
@dotnwat dotnwat merged commit fe037a2 into redpanda-data:v22.1.x May 4, 2022
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.

4 participants