You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "chia7712 (via GitHub)" <gi...@apache.org> on 2023/06/22 13:14:43 UTC

[GitHub] [kafka] chia7712 opened a new pull request, #13902: MINOR: fix flaky ZkMigrationIntegrationTest.testNewAndChangedTopicsIn…

chia7712 opened a new pull request, #13902:
URL: https://github.com/apache/kafka/pull/13902

   ```
   org.apache.kafka.server.fault.FaultHandlerException: nonFatalFaultHandler: Unhandled error in MetadataChangeEvent: Session expired either before or while waiting for connection
   	at app//kafka.zookeeper.ZooKeeperClient.waitUntilConnected(ZooKeeperClient.scala:266)
   	at app//kafka.zookeeper.ZooKeeperClient.$anonfun$waitUntilConnected$1(ZooKeeperClient.scala:248)
   	at app//kafka.zookeeper.ZooKeeperClient.waitUntilConnected(ZooKeeperClient.scala:248)
   	at app//kafka.zk.KafkaZkClient.retryRequestsUntilConnected(KafkaZkClient.scala:2082)
   	at app//kafka.zk.KafkaZkClient.retryRequestsUntilConnected(KafkaZkClient.scala:1921)
   	at app//kafka.zk.KafkaZkClient.retryRequestUntilConnected(KafkaZkClient.scala:1916)
   	at app//kafka.zk.KafkaZkClient.updateMigrationState(KafkaZkClient.scala:1707)
   	at app//kafka.zk.ZkMigrationClient.$anonfun$setMigrationRecoveryState$1(ZkMigrationClient.scala:112)
   	at app//kafka.zk.ZkMigrationClient.setMigrationRecoveryState(ZkMigrationClient.scala:67)
   	at app//org.apache.kafka.metadata.migration.KRaftMigrationDriver$MetadataChangeEvent.lambda$run$2(KRaftMigrationDriver.java:703)
   	at app//org.apache.kafka.metadata.migration.KRaftMigrationDriver.applyMigrationOperation(KRaftMigrationDriver.java:233)
   	at app//org.apache.kafka.metadata.migration.KRaftMigrationDriver.access$800(KRaftMigrationDriver.java:63)
   	at app//org.apache.kafka.metadata.migration.KRaftMigrationDriver$MetadataChangeEvent.run(KRaftMigrationDriver.java:702)
   	at app//org.apache.kafka.queue.KafkaEventQueue$EventContext.run(KafkaEventQueue.java:127)
   	at app//org.apache.kafka.queue.KafkaEventQueue$EventHandler.handleEvents(KafkaEventQueue.java:210)
   	at app//org.apache.kafka.queue.KafkaEventQueue$EventHandler.run(KafkaEventQueue.java:181)
   	at java.base@17.0.7/java.lang.Thread.run(Thread.java:833)
   Caused by: kafka.zookeeper.ZooKeeperClientExpiredException: Session expired either before or while waiting for connection
   	... 17 more
   ```
   
   the fix is copied from #13758
   
   ### Committer Checklist (excluded from commit message)
   - [ ] Verify design and implementation 
   - [ ] Verify test coverage and CI build status
   - [ ] Verify documentation (including upgrade notes)
   


-- 
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-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [kafka] divijvaidya commented on pull request #13902: MINOR: fix flaky ZkMigrationIntegrationTest.testNewAndChangedTopicsIn…

Posted by "divijvaidya (via GitHub)" <gi...@apache.org>.
divijvaidya commented on PR #13902:
URL: https://github.com/apache/kafka/pull/13902#issuecomment-1611682088

   @mumrah Should we backport this for 3.5 branch as well since the code that introduced this flakiness exists over there as well?


-- 
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-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [kafka] chia7712 merged pull request #13902: MINOR: fix flaky ZkMigrationIntegrationTest.testNewAndChangedTopicsIn…

Posted by "chia7712 (via GitHub)" <gi...@apache.org>.
chia7712 merged PR #13902:
URL: https://github.com/apache/kafka/pull/13902


-- 
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-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org