[KAFKA-18442] Remove broken upgrade-downgrade-upgrade path.#18424
[KAFKA-18442] Remove broken upgrade-downgrade-upgrade path.#18424josefk31 wants to merge 1 commit intoapache:trunkfrom
Conversation
|
Apache Kafka 3.3 is no longer supported Does this affect all versions of kafka earlier than 3.4? We should have a JIRA pointing out the software versions that we can't downgrade to, not just a "MINOR" PR |
|
|
A label of 'needs-attention' was automatically added to this PR in order to raise the |
|
This was resolved by #18386 |
|
A label of 'needs-attention' was automatically added to this PR in order to raise the |
|
A label of 'needs-attention' was automatically added to this PR in order to raise the |
|
closing since #18386 resolves this. |
Fixes broken system tests.
This has likely been broken for at least a year but may have only been detected now when new tests where added.
The test does the following:
All while sending off verifiable producer/consumer to make sure all messages are read.
The test suite only fails for kafka-3.3.2 at the starting phase of step 3. According to logs, the test suite fails because of:
This is only broken in 3.3.2 version of Kafka BrokerMetatadataCheckpoint.scala. In 3.3.2 kafka loads information about metadata directories via
metadata.propertiesfiles and expects that the properties are duplicated for all log directories. We crash with a fatal error if they are non-duplicate which at that time would mean that another instance of kafka was using the same log directories.However, at some point before #14628 we dropped the requirement that the
metadata.propertiesfiles is duplicate in each directory since they will now contain a non-uniquedirectory.idfield for each dir. This has no effect on versions of kafka runningkraftmode, greater than 3.4.x (they care only about uniqueness of node.id and cluster.id) but does affect 3.3.2 since it expects everymetadata.propertiesfile to be the same or else.If we assume that this has been broken for a while and there is not a forward compat requirement, I propose removing this specific test version.
Committer Checklist (excluded from commit message)