Hello Kudu Jenkins, Abhishek Chennaka,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/23213
to look at the new patch set (#2).
Change subject: [net] use AF_INET hint for GetFQDN()
......................................................................
[net] use AF_INET hint for GetFQDN()
I noticed that on nodes with not properly configured IPv6 DNS resolver,
GetFQDN() would take quite a long time (~5 seconds) even if it
eventually returns the name. This patch addresses the issue, adding
the AF_INET hint for 'ai_family' when invoking getaddrinfo(). Doing so
is in sync with the set of hints provided for the invocation of
getaddrinfo() in the context of HostPort::ResolveAddresses().
Change-Id: Ibca0a3c1f7ad03a6f847057c38c00b42275dec8b
---
M src/kudu/util/net/net_util.cc
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/13/23213/2
--
To view, visit http://gerrit.cloudera.org:8080/23213
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ibca0a3c1f7ad03a6f847057c38c00b42275dec8b
Gerrit-Change-Number: 23213
Gerrit-PatchSet: 2
Gerrit-Owner: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Abhishek Chennaka <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)