[
https://issues.apache.org/jira/browse/KAFKA-18844?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
José Armando García Sancio updated KAFKA-18844:
-----------------------------------------------
Fix Version/s: 3.9.1
> Stale features information in QuorumController#registerBroker
> -------------------------------------------------------------
>
> Key: KAFKA-18844
> URL: https://issues.apache.org/jira/browse/KAFKA-18844
> Project: Kafka
> Issue Type: Bug
> Reporter: David Jacot
> Assignee: PoAn Yang
> Priority: Major
> Fix For: 3.9.1
>
>
> In https://github.com/apache/kafka/pull/16848, we added kraft.version to
> finalized features and got finalized features outside controller event
> handling thread. This makes finalized features may be stale when processing
> registerBroker event. Also, some cases like
> QuorumControllerTest.testBalancePartitionLeaders become flaky cause of
> outdated MV. This PR moves finalized features back to controller event
> handling thread to avoid the error.
> ----
> Previous Jira title: Fix flaky
> QuorumControllerTest.testBalancePartitionLeaders()
> Previous Jira description:
> This test is flaky since a few days ago. See
> [https://develocity.apache.org/scans/tests?search.relativeStartTime=P28D&search.rootProjectNames=kafka&search.timeZoneId=Europe%2FZurich&tests.container=org.apache.kafka.controller.QuorumControllerTest&tests.test=testBalancePartitionLeaders()|https://develocity.apache.org/scans/tests?search.relativeStartTime=P28D&search.rootProjectNames=kafka&search.timeZoneId=Europe%2FZurich&tests.container=org.apache.kafka.controller.QuorumControllerTest&tests.test=testBalancePartitionLeaders().].
> We need to investigate it and to fix it.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)