Hello Adar Dembo, Todd Lipcon,
I'd like you to do a code review. Please visit
http://gerrit.cloudera.org:8080/4640
to review the following change.
Change subject: KUDU-1681: DNS resolution failure of master hostname causes
tserver crash
......................................................................
KUDU-1681: DNS resolution failure of master hostname causes tserver crash
Also changes the fail_dns_resolution flag to make DNS resolution return
an error Status instead of an empty resolved list. From the manpage of
getaddrinfo:
After a successful call to getaddrinfo(), *res is a pointer to a
linked list of one or more addrinfo structures.
Change-Id: Ib79973a38bebbe84df419e274c08c8cc0c5d31cd
---
M src/kudu/tserver/heartbeater.cc
M src/kudu/tserver/tablet_server-test.cc
M src/kudu/util/net/net_util.cc
3 files changed, 15 insertions(+), 5 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/40/4640/1
--
To view, visit http://gerrit.cloudera.org:8080/4640
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib79973a38bebbe84df419e274c08c8cc0c5d31cd
Gerrit-PatchSet: 1
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Dan Burkert <[email protected]>
Gerrit-Reviewer: Adar Dembo <[email protected]>
Gerrit-Reviewer: Todd Lipcon <[email protected]>