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

   The case `testDescribeQuorumRequestToControllers` shutdowns raft client but 
not the controller. This makes client has chance to send a request to the 
controller and get `NOT_LEADER_OR_FOLLOWER` error. However, if the raft client 
finishes shutdown before handling the request, the request will not be handled. 
Shutdown the controller before doing `KafkaFuture#get` for the client request, 
so we can make sure the request is handled by another controller eventually.
   
   ### 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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to