diff options
author | 2018-02-07 14:51:20 -0800 | |
---|---|---|
committer | 2018-02-12 11:35:40 -0800 | |
commit | 776490af0eae820fb8919b2ea6f245aff197a1ab (patch) | |
tree | aa4c439abd4774e2c34a06a573d4ce47f14c14e9 /src/core/ext/filters/client_channel/lb_policy/round_robin | |
parent | 86accb1768cc860a7579bb5fff9bd3c2ba7274af (diff) |
Revert "Revert "grpclb re-resolution""
Diffstat (limited to 'src/core/ext/filters/client_channel/lb_policy/round_robin')
-rw-r--r-- | src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc b/src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc index cefd0d8d7d..b5b4c44ef1 100644 --- a/src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc +++ b/src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc @@ -620,14 +620,6 @@ static void rr_update_locked(grpc_lb_policy* policy, } } -static void rr_set_reresolve_closure_locked( - grpc_lb_policy* policy, grpc_closure* request_reresolution) { - round_robin_lb_policy* p = reinterpret_cast<round_robin_lb_policy*>(policy); - GPR_ASSERT(!p->shutdown); - GPR_ASSERT(policy->request_reresolution == nullptr); - policy->request_reresolution = request_reresolution; -} - static const grpc_lb_policy_vtable round_robin_lb_policy_vtable = { rr_destroy, rr_shutdown_locked, @@ -638,8 +630,7 @@ static const grpc_lb_policy_vtable round_robin_lb_policy_vtable = { rr_exit_idle_locked, rr_check_connectivity_locked, rr_notify_on_state_change_locked, - rr_update_locked, - rr_set_reresolve_closure_locked}; + rr_update_locked}; static void round_robin_factory_ref(grpc_lb_policy_factory* factory) {} |