KAFKA-17497: Add e2e for zk migration with old controller#17131
KAFKA-17497: Add e2e for zk migration with old controller#17131chia7712 merged 5 commits intoapache:3.9from
Conversation
| def test_online_migration(self, roll_controller, from_kafka_version): | ||
| zk_quorum = partial(ServiceQuorumInfo, zk) | ||
| self.zk = ZookeeperService(self.test_context, num_nodes=1, version=DEV_BRANCH) | ||
| self.kafka = KafkaService(self.test_context, |
There was a problem hiding this comment.
Please set IBP if the version is NOT DEV_BRANCH
| server_prop_overrides = [["zookeeper.metadata.migration.enable", "false"]] | ||
|
|
||
| if from_kafka_version != str(DEV_BRANCH): | ||
| server_prop_overrides.append([config_property.INTER_BROKER_PROTOCOL_VERSION, "3.7"]) |
There was a problem hiding this comment.
Please use str(from_kafka_version
There was a problem hiding this comment.
My point was - please use str(from_kafka_version) to replace 3.7
mumrah
left a comment
There was a problem hiding this comment.
Thanks for this test @frankvicky 👍
Is the purpose of the new test case to verify that the migration can happen on the latest software version with an older MV/IBP? E.g., 3.7 MV on 3.9 code base
The purpose is to verify the migration can happen on the latest broker with "older quorum controller". There was a min=0 issue in migrating (#16420 (comment)), and we did not add a e2e for the scenario before. for another: the motivation of this jira/PR is from this comment (#16421 (comment)) that I realize the scenario is not easy to understand. Having a e2e case can help us to discuss the migration case |
|
Hi @mumrah, As @chia7712 mentioned, this test aims to ensure that the controller can work with brokers of higher versions. We need to verify that the higher version brokers can set the minimum supported version to 1 and communicate with the controller normally, as discussed in this #16421 (comment) |
This description is correct before #17128 gets merged. The new approach (#17128) will skip the features instead of changing the min version. The new approach can fix the issue of min=0 check in 3.8 controller |
|
I'm going to merge this PR. The e2e case of 3.8 will be addressed by #17128 |
Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
JIRA: KAFKA-17497
Committer Checklist (excluded from commit message)