Hello Alexey Serbin,

I'd like you to do a code review. Please visit

    http://gerrit.cloudera.org:8080/15665

to review the following change.


Change subject: util: remove duplicate results from DNS resolution
......................................................................

util: remove duplicate results from DNS resolution

On some systems it seems that our DNS resolution code can end up
yielding multiple copies of the same address. That would produce
annoying log messages like:

  $ kudu table list localhost
  W0404 20:35:05.511526 31378 client-internal.cc:597] Specified master
  server address 'localhost' resolved to multiple IPs. Using
  127.0.0.1:7051

This patch ensures that any given address is only appended to the result
vector once.

Change-Id: I7d9b9f9839a899d8022f5ac6496555ff84583192
---
M src/kudu/util/net/net_util.cc
1 file changed, 8 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/65/15665/1
--
To view, visit http://gerrit.cloudera.org:8080/15665
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I7d9b9f9839a899d8022f5ac6496555ff84583192
Gerrit-Change-Number: 15665
Gerrit-PatchSet: 1
Gerrit-Owner: Todd Lipcon <t...@apache.org>
Gerrit-Reviewer: Alexey Serbin <aser...@cloudera.com>

Reply via email to