-
- Downloads
Break infinite connection retry loop
Previously, we'd keep retrying a connection until the channel closed. With this change, we only retry connecting *if there's a watcher on the subchannel connection state*. This ultimately means that if the lb_policy doesn't care if the subchannel connects, it'll stop trying.
Showing
- src/core/ext/client_channel/subchannel.c 82 additions, 53 deletionssrc/core/ext/client_channel/subchannel.c
- src/core/lib/transport/connectivity_state.c 9 additions, 4 deletionssrc/core/lib/transport/connectivity_state.c
- src/core/lib/transport/connectivity_state.h 4 additions, 1 deletionsrc/core/lib/transport/connectivity_state.h
Loading
Please register or sign in to comment