Skip to content

fix: KRaft migration needs bootstrap controller id in ZK mode too - #1073

Merged
razvan merged 4 commits into
mainfrom
fix/kraft-migration
Nov 19, 2026
Merged

razvan merged 4 commits into
mainfrom
fix/kraft-migration

Conversation

@razvan

@razvan razvan commented Nov 19, 2026 •

Copy link
Copy Markdown
Member

Description

This fixes a bug affecting the ZooKeeper -> KRaft migration.

Previously, a new bootstrap controller id was only computed when the metadata manager was KRaft. But migrations start with the ZooKeeper manager so the bootstrap id must be computed in this situation too.

This bootstrap id was added in #1061 and needs to be persisted in the cluster status.

This PR also updates the migration guide to make it more clear and close to reality.

Definition of Done Checklist

  • Not all of these items are applicable to all PRs, the author should update this template to only leave the boxes in that are relevant
  • Please make sure all these things are done and tick the boxes

Author

  • Changes are OpenShift compatible
  • CRD changes approved
  • CRD documentation for all fields, following the style guide.
  • Helm chart can be installed and deployed operator works
  • Integration tests passed (for non trivial changes)
  • Changes need to be "offline" compatible
  • Links to generated (nightly) docs added
  • Release note snippet added

Reviewer

  • Code contains useful comments
  • Code contains useful logging statements
  • (Integration-)Test cases added
  • Documentation added or updated. Follows the style guide.
  • Changelog updated
  • Cargo.toml only contains references to git tags (not specific commits or branches)

Acceptance

  • Feature Tracker has been updated
  • Proper release label has been added
  • Links to generated (nightly) docs added
  • Release note snippet added
  • Add type/deprecation label & add to the deprecation schedule
  • Add type/experimental label & add to the experimental features tracker

@razvan razvan self-assigned this Nov 19, 2026
@razvan razvan moved this to Development: Waiting for Review in Stackable Engineering Nov 19, 2026
adwk67
adwk67 previously requested changes Nov 19, 2026

@adwk67 adwk67 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just some typos.

@adwk67
adwk67 dismissed their stale review November 19, 2026 12:13

Wrong PR :(

@adwk67 adwk67 moved this from Development: Waiting for Review to Development: In Review in Stackable Engineering Nov 19, 2026
adwk67
adwk67 previously approved these changes Nov 19, 2026

@adwk67 adwk67 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just one non-blocking question

@razvan
razvan enabled auto-merge November 19, 2026 14:50
@razvan
razvan added this pull request to the merge queue Nov 19, 2026
Merged via the queue into main with commit da264d7 Nov 19, 2026
13 checks passed
@razvan
razvan deleted the fix/kraft-migration branch November 19, 2026 15:04
@adwk67 adwk67 moved this from Development: In Review to Development: Done in Stackable Engineering Nov 19, 2026
razvan added a commit that referenced this pull request Nov 19, 2026
)

* fix: KRaft migration needs bootstrap controller id in ZK mode too (#1073)

* docs: KRaft migration guide updated and improved

* fix: KRaft migration needs bootstrap controller id in ZK mode too

* update changelog

* review: timeline clarification in docs

* review: fix changelog
@lfrancke lfrancke moved this from Development: Done to Done in Stackable Engineering Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Development

Successfully merging this pull request may close these issues.

3 participants