Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-8121

ZooKeeperClient session expiry thread may leave clients behind after close

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.3.0, 2.2.1
    • None
    • None

    Description

      Test failure after merging KAFKA-8118:

      java.lang.AssertionError: Found unexpected threads during @AfterClass, allThreads=Set(/127.0.0.1:51186 to /127.0.0.1:40791 workers Thread 3, metrics-meter-tick-thread-2, main, Signal Dispatcher, Reference Handler, zk-session-expiry-handler0-SendThread(localhost:35825), zk-session-expiry-handler0-EventThread, scala-execution-context-global-1903, Test worker, scala-execution-context-global-34, scala-execution-context-global-5352, scala-execution-context-global-234, Finalizer, scala-execution-context-global-235, /127.0.0.1:51186 to /127.0.0.1:40791 workers Thread 2, metrics-meter-tick-thread-1), unexpected=Set(zk-session-expiry-handler0-EventThread)
      	at org.junit.Assert.fail(Assert.java:89)
      	at org.junit.Assert.assertTrue(Assert.java:42)
      	at kafka.zk.ZooKeeperTestHarness$.verifyNoUnexpectedThreads(ZooKeeperTestHarness.scala:129)
      	at kafka.zk.ZooKeeperTestHarness$.tearDownClass(ZooKeeperTestHarness.scala:114)
      	at kafka.zk.ZooKeeperTestHarness.tearDownClass(ZooKeeperTestHarness.scala)

      Attachments

        Issue Links

          Activity

            People

              rsivaram Rajini Sivaram
              rsivaram Rajini Sivaram
              Ismael Juma Ismael Juma
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: