abbccdda opened a new pull request #9095:
URL: https://github.com/apache/kafka/pull/9095


   In the unit test `shouldDieOnInvalidOffsetExceptionDuringStartup` for JDK 
11, we spotted a case where a global stream thread startup would stall if it 
fails immediately upon the first poll. The reason is that `start()` function 
only checks whether the thread is *not running*, as it needs to block until it 
finishes the initialization. However, if the thread transits to `DEAD` 
immediately, the `start()` call would block forever.
   
   Use the failed unit test to verify it works.
   
   ### 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.

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


Reply via email to