Todd Lipcon has posted comments on this change.

Change subject: [net_util] fix reporting getaddrinfo() error
......................................................................


Patch Set 2:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/7368/2/src/kudu/util/net/net_util.cc
File src/kudu/util/net/net_util.cc:

Line 313:           gai_strerror(rc));
> 1. For clarity, instead of "canonical name", can we say "canonical hostname
small nit in mike's code: should probably save 'errno' to a local as soon as 
possible after getting the bad result code (before calling Substitute) in case 
Substitute affects errno (I'm not sure if it does or not)


-- 
To view, visit http://gerrit.cloudera.org:8080/7368
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I2d5ba87b9ea050724367610461bae22c9471a103
Gerrit-PatchSet: 2
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Dan Burkert <[email protected]>
Gerrit-Reviewer: Edward Fancher <[email protected]>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Mike Percy <[email protected]>
Gerrit-Reviewer: Todd Lipcon <[email protected]>
Gerrit-HasComments: Yes

Reply via email to