net: resolver dials multiple times in parallel, and retries same server before progressing #32873
Labels
Milestone
Comments
CC @mikioh |
After digging deeper into the implementation of the standard library, I've found the culprit. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
What did you expect to see?
I expected it to try the first DNS address (10.5.6.62), and then the second address (10.1.200.107), and so on. Then it should retry the whole list.
What did you see instead?
It dials the first address twice, then tries the second one twice. Based on the logs, it appears it's actually trying the first address multiple times in parallel.
The text was updated successfully, but these errors were encountered: