Open lvhuat opened 4 months ago
To prevent this and improve availability when doing a cluster roll to upgrade to a version with KIP 320 we can make a change so validations are skipped when new leader doesn't support them, even if a previous leader did.
Description:
After upgrading Kafka from version 2.2.1 to 3.5.1, we observed issues related to leader switching. The specific issues and reproduction steps are as follows:
Process:
Expected Behavior:
In such cases, the metadata should update correctly, allowing proper leader switching and load balancing.
Actual Behavior:
The metadata fails to update correctly, causing all requests to be incorrectly routed to a specific node, forming an error loop.
Additional Information:
Relevant Kafka configuration and librdkafka version are as follows:
partial logger
code