rls: Refresh name resolution on rejected addresses#10032
Conversation
If a child load balancer rejects the addresses it if given all we can do is to trigger a name resolution refresh and hope for a better set of addresses.
|
@ejona86 We discussed this, but I'll still ask: what prevents this change in resulting in a loop where the name resolver keeps providing addresses the child LB does not like and us repeatedly refreshing name resolution? |
|
It is reasonable to expect that at some time in the future name resolution might start returning something valid, but it seems like we ought to have exponential backoff with max tries, after which we generate an error. |
Because we aren't calling refresh when the NR provides new addresses. When the NR provides new addresses, we should return |
If a child load balancer rejects the addresses it if given all we can do is to trigger a name resolution refresh and hope for a better set of addresses.