Andrew Wong has uploaded this change for review. ( http://gerrit.cloudera.org:8080/17849
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, 144 insertions(+), 2 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/49/17849/1 -- 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: newchange Gerrit-Change-Id: I0616f3e6fb50aba271f106b05d1926fc46a53ed0 Gerrit-Change-Number: 17849 Gerrit-PatchSet: 1 Gerrit-Owner: Andrew Wong <[email protected]>
