gaurav-narula opened a new pull request, #23610: URL: https://github.com/apache/kafka/pull/23610
A quorum leader crash during a KRaft migration can result in a scenario where the `/state` ZNode for a topic-partition is not created after the new leader is elected due to `migrationClient.topicClient().updateTopicPartitions()` being invoked instead of `migrationClient.topicClient().createTopicPartitions()` This change updates the callsite in `KraftMigrationZkWriter#handleSnapshot` and introduces a new variant to `TopicMigrationClient#TopicVisitorInterest` enum to restrict the change to when KRaft controller is propagating changes to ZK and keep the existing behaviour prior to that. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
