Dinesh Bhat has posted comments on this change.

Change subject: KUDU-1776: Fix "kudu remote_replica copy" connecting to 
wildcard address
......................................................................


Patch Set 1:

(5 comments)

http://gerrit.cloudera.org:8080/#/c/5378/1//COMMIT_MSG
Commit Message:

PS1, Line 7: binding to wildcard address
> the tool isn't binding to a wildcard, but rather trying to connect to a wil
Done


http://gerrit.cloudera.org:8080/#/c/5378/1/src/kudu/integration-tests/external_mini_cluster.cc
File src/kudu/integration-tests/external_mini_cluster.cc:

Line 68: DEFINE_bool(ts_use_wildcard_addr, false,
> this should be one of the options set via the minicluster API before starti
yeah, good idea, done. also keeping it only for tablet server for now.


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

Line 269: Status HostPortPBFromSockaddrReplaceWildcard(const Sockaddr& addr, 
HostPortPB* hp) {
> despite this being convenient, it's a "no-no" to have util/ depend on commo
that's true, I kinda wanted to poke you about this change in the slack, but 
forgot about that. thanks for steering me towards a sane change.


http://gerrit.cloudera.org:8080/#/c/5378/1/src/kudu/util/net/net_util.h
File src/kudu/util/net/net_util.h:

PS1, Line 118: HostPortHostPortPB
> typo
all diffs from kudu/util/net got removed now following your suggestion below.


Line 121: Status HostPortPBFromSockaddrReplaceWildcard(const Sockaddr& addr, 
HostPortPB* hp);
> why not just use HostPortFromSockaddr as above, and then convert it to a PB
Done.


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

Gerrit-MessageType: comment
Gerrit-Change-Id: Ie5d0a37b39a3774caab5b5d8dba3d9750bf5f21f
Gerrit-PatchSet: 1
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Dinesh Bhat <[email protected]>
Gerrit-Reviewer: Dinesh Bhat <[email protected]>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Tidy Bot
Gerrit-Reviewer: Todd Lipcon <[email protected]>
Gerrit-HasComments: Yes

Reply via email to