sharanggupta opened a new pull request, #24111:
URL: https://github.com/apache/kafka/pull/24111

   `kafka-features.sh upgrade --release-version` upgraded every feature to the 
release's default level, including `kraft.version`. Upgrading `kraft.version` 
from 0 turns a static controller quorum into a dynamic one, which cannot be 
undone and leaves the nodes configured with `controller.quorum.voters`. The 
command now reads the finalized `kraft.version` when the release would raise 
it, leaves it alone while it is 0 and prints how to upgrade it with `--feature 
kraft.version=1`; quorums that are already dynamic are upgraded as before. The 
`--release-version` help, the "Upgrade KRaft Version" section of 
`docs/operations/kraft.md` (which showed `--release-version 4.1` as a way to 
make the quorum dynamic) and the 4.5.0 notable changes are updated to match.
   
   `FeatureCommandTest` covers a static quorum (with and without `--dry-run`), 
a dynamic quorum and a failing describe with `MockAdminClient`, and 
`testUpgradeWithReleaseVersion` now expects `kraft.version` to stay at 0.
   
   Co-Authored-By: Claude Opus 5.5 <[email protected]>
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to