mwesterby commented on code in PR #23639:
URL: https://github.com/apache/kafka/pull/23639#discussion_r4552122143
##########
core/src/test/scala/integration/kafka/zk/ZkMigrationFailoverTest.scala:
##########
@@ -102,6 +102,7 @@ class ZkMigrationFailoverTest extends Logging {
.setInitialZkLoadHandler((_: MetadataPublisher) => {})
.setZkMigrationClient(zkMigrationClient)
.setFaultHandler(faultHandler)
+ .setMigrationConflictHandler((_: Int) => {})
Review Comment:
This is a good spot. I've updated this so `buildMigrationDriver` now records
the epochs passed to the conflict handler and returns them. I've added
assertions to ensure that this is empty for 3001's after each of the three
`faultHandler2.checkAndClear` checks too.
--
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]