MINOR: Bump LATEST_PRODUCTION to 4.4-IV2 for 4.4.0 - #23235
Open
kaijaytu wants to merge 1 commit into
Open
Conversation
KIP-1191 (IBP_4_4_IV0), KIP-1276 (IBP_4_4_IV1), and KIP-1312 (IBP_4_4_IV2) have all been merged for the 4.4 release. Bump LATEST_PRODUCTION to IBP_4_4_IV2 so these features are actually enabled in 4.4.0. Also move the "unstable versions" comment block after IBP_4_4_IV2 per the in-file instruction, update LATEST_STABLE_METADATA_VERSION in tests/kafkatest/version.py to match, and adjust MetadataVersionTest and FormatterTest so the "unstable latest" invariants are asserted conditionally (matching the pattern established on trunk in apache#23125), since on the 4.4 release branch there is no unstable MetadataVersion after the promoted one. Reported-by: Andrew Schofield on the 4.4.0 RC0 vote thread Co-Authored-By: Claude Opus 4.7 <claude@anthropic.com>
Contributor
Author
|
cc @chia7712 as 4.4.0 release manager, and @AndrewJSchofield who reported this on the RC0 vote thread. Requesting review so this can go into 4.4.0 RC1. |
chia7712
reviewed
Aug 22, 2026
| LATEST_STABLE_TRANSACTION_VERSION = 2 | ||
| # This should match the LATEST_PRODUCTION version defined in MetadataVersion.java | ||
| LATEST_STABLE_METADATA_VERSION = "4.3-IV0" | ||
| LATEST_STABLE_METADATA_VERSION = "4.4-IV2" |
Member
There was a problem hiding this comment.
Would you please run the related E2E test locally?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Reported on the 4.4.0 RC0 vote thread:
metadata.versionin RC0 shipped as4.3-IV0instead of4.4-IV2.KIP-1191 (IBP_4_4_IV0), KIP-1276 (IBP_4_4_IV1), and KIP-1312 (IBP_4_4_IV2) have all been merged for the 4.4 release. Bump LATEST_PRODUCTION to IBP_4_4_IV2 so these features are actually enabled in 4.4.0.
Also move the "unstable versions" comment block after IBP_4_4_IV2 per the in-file instruction, update LATEST_STABLE_METADATA_VERSION in tests/kafkatest/version.py to match, and adjust MetadataVersionTest and FormatterTest so the "unstable latest" invariants are asserted conditionally (matching the pattern established on trunk in #23125), since on the 4.4 release branch there is no unstable MetadataVersion after the promoted one.
Testing
Ran
./gradlew buildlocally on JDK 17, plus targeted:./gradlew server-common:test --tests "*MetadataVersion*"./gradlew metadata:test --tests "*FormatterTest*"./gradlew tools:test --tests "*FeatureCommandTest*"All green.
Reported-by: Andrew Schofield on the 4.4.0 RC0 vote thread
Reviewers: Chia-Ping Tsai chia7712@gmail.com