xiangfu0 opened a new pull request, #17989: URL: https://github.com/apache/pinot/pull/17989
## Summary - mark `QueryServer` as shutting down before closing the listener socket - reject child channels that are accepted during teardown and drain tracked client channels before returning - wait for the boss and worker event loops to terminate so broker peers see shutdown promptly under Netty 4.2 ## How to reproduce the issue - check out `master` after PR #17980 - run `./mvnw -pl pinot-core -Dtest=QueryRoutingTest test` repeatedly - observe intermittent failures in `testValidResponse`, `testServerDown`, or `testSkipUnavailableServer` ## Testing - `./mvnw -pl pinot-core spotless:apply` - `./mvnw -pl pinot-core checkstyle:check` - `./mvnw -pl pinot-core license:format` - `./mvnw -pl pinot-core license:check` - `./mvnw -pl pinot-core -Dtest=QueryRoutingTest test` - `for i in $(seq 1 10); do ./mvnw -q -pl pinot-core -Dtest=QueryRoutingTest test; done` -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
