aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/ext/filters/client_channel/resolver.h
diff options
context:
space:
mode:
authorGravatar Mark D. Roth <roth@google.com>2018-03-23 08:12:11 -0700
committerGravatar Mark D. Roth <roth@google.com>2018-03-23 08:12:11 -0700
commite63e06d8d76b218fba048f1cd8b941ef21b07502 (patch)
treee2f97a0694552725a5bf6870386ef340c893bccc /src/core/ext/filters/client_channel/resolver.h
parent6fbc1fbce43f8a7b688f07681b8cde9c5e3eb06c (diff)
Fall calls with wait_for_ready=false on transient resolver failure.
Diffstat (limited to 'src/core/ext/filters/client_channel/resolver.h')
-rw-r--r--src/core/ext/filters/client_channel/resolver.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/ext/filters/client_channel/resolver.h b/src/core/ext/filters/client_channel/resolver.h
index 1685a6c803..cdb5a20ea3 100644
--- a/src/core/ext/filters/client_channel/resolver.h
+++ b/src/core/ext/filters/client_channel/resolver.h
@@ -53,8 +53,12 @@ class Resolver : public InternallyRefCountedWithTracing<Resolver> {
/// Requests a callback when a new result becomes available.
/// When the new result is available, sets \a *result to the new result
/// and schedules \a on_complete for execution.
+ /// Upon transient failure, sets \a *result to nullptr and schedules
+ /// \a on_complete with no error.
/// If resolution is fatally broken, sets \a *result to nullptr and
/// schedules \a on_complete with an error.
+ /// TODO(roth): When we have time, improve the way this API represents
+ /// transient failure vs. shutdown.
///
/// Note that the client channel will almost always have a request
/// to \a NextLocked() pending. When it gets the callback, it will