FrankYang0529 opened a new pull request, #19058: URL: https://github.com/apache/kafka/pull/19058
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 may make finalized features 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. Reviewers: Ismael Juma <ij...@apache.org>, Jun Rao <jun...@gmail.com>, Colin P. McCabe <cmcc...@apache.org>, Chia-Ping Tsai <chia7...@gmail.com> (cherry picked from commit 88a23dab3ea6f76cc32066066149ce7843bf24ab) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org