Hello Alexey Serbin, Kudu Jenkins, Bankim Bhavsar,

I'd like you to reexamine a change. Please visit

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

to look at the new patch set (#2).

Change subject: [util] allow DnsResolver to refresh DNS addresses
......................................................................

[util] allow DnsResolver to refresh DNS addresses

This patch introduces functionality to the DnsResolver to refresh an
address, rather than looking it up in the cache. It does this by
removing any cached entry and performing the lookup.

This will be used in a follow-up change to refresh the address on
certain transient failures.

A new --dns_addr_resolution_override flag is also introduced for testing
purposes.

Change-Id: I0616f3e6fb50aba271f106b05d1926fc46a53ed0
---
M src/kudu/util/net/dns_resolver-test.cc
M src/kudu/util/net/dns_resolver.cc
M src/kudu/util/net/dns_resolver.h
M src/kudu/util/net/net_util.cc
M src/kudu/util/ttl_cache.h
5 files changed, 145 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/49/17849/2
--
To view, visit http://gerrit.cloudera.org:8080/17849
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I0616f3e6fb50aba271f106b05d1926fc46a53ed0
Gerrit-Change-Number: 17849
Gerrit-PatchSet: 2
Gerrit-Owner: Andrew Wong <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Andrew Wong <[email protected]>
Gerrit-Reviewer: Bankim Bhavsar <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)

Reply via email to