net: set ADDRCONFIG DNS hint in connections#6281
Conversation
|
LGTM. The issue on the pi2's is that they receive IPv6 addresses when they're IPv4-only or vice versa? |
|
(Full) CI: https://ci.nodejs.org/job/node-test-pull-request/2324/ |
|
LGTM |
|
LGTM. Wouldn't mind seeing this get fast-tracked so that:
|
|
CI is green. Multiple stress tests are green too. |
|
LGTM |
1 similar comment
|
LGTM |
|
@bnoordhuis to be honest, I'm not sure. I'm not sure how those machines are configured. I was trying to fix the flakiness, and knew it could only be some combination of those two DNS hints. I'm glad it wasn't |
|
Oh, and @Trott thanks for running those stress tests. |
|
LGTM |
|
@cjihrig ... do you wanna land this? (or I can, I'm about to go through a batch of PR's again) |
b85a50b removed the implicit setting of DNS hints when creating a connection. This caused some of the pi2 machines to become flaky. This commit restores the implicit dns.ADDRCONFIG hint, but not dns.V4MAPPED. Fixes: nodejs#6133 PR-URL: nodejs#6281 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Claudio Rodriguez <cjrodr@yahoo.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
b85a50b removed the implicit setting of DNS hints when creating a connection. This caused some of the pi2 machines to become flaky. This commit restores the implicit dns.ADDRCONFIG hint, but not dns.V4MAPPED. Fixes: nodejs#6133 PR-URL: nodejs#6281 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Claudio Rodriguez <cjrodr@yahoo.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
b85a50b removed the implicit setting of DNS hints when creating a connection. This caused some of the pi2 machines to become flaky. This commit restores the implicit dns.ADDRCONFIG hint, but not dns.V4MAPPED. Fixes: #6133 PR-URL: #6281 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Claudio Rodriguez <cjrodr@yahoo.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
Checklist
Affected core subsystem(s)
net
Description of change
b85a50b removed the implicit setting of DNS hints when creating a connection. Stress testing has shown that this caused the pi2 machines to become flaky. This commit restores the implicit
dns.ADDRCONFIGhint, but not the more problematicdns.V4MAPPED. The stress test in https://ci.nodejs.org/job/node-stress-single-test/655/ has, so far, stopped being flaky with this change.I'll update the commit message prior to landing.
Refs: #6133
Likely also
Refs: #6265
Refs: #6134