THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
- As the AlterPartition and Fetch requests are shared between ZK and Kraft mode, we can just let the ZK controller ignore the broker epoch field.
- The AlterPartition request will be protected by the ApiVersion bump. The brokers can use the controller-supported version accordingly.
- The metadata version/IBP version will be bumped . During the upgrade, leaders will leave the broker epoch field as -1 if the broker has not upgraded yet. The controller will skip the validation if the epoch is -1to gate the new version of the Fetch request. After the IBP is upgraded, the new Fetch quest(version 14) will be used.
Test Plan
Will test by simulating the race scenario of the delayed AlterPartitionRequest and the broker reboot.
...