-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prefer least-idle connection when randomly selectiong broker for meta…
…data queries, etc. (#2845) Reasons: - this connection is most likely to function properly. - allows truly idle connections to be killed by the broker's/LB's idle connection reaper. This will fix issues like "Metadata request timed out" when the periodic metadata refresh picks an idle (typically bootstrap) connection which has exceeded the load-balancer's idle time (which silently kills the connection without sending FIN/RST to the client).
- Loading branch information
Showing
7 changed files
with
187 additions
and
114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.