diff options
author | Jan Tattermusch <jtattermusch@users.noreply.github.com> | 2016-05-10 20:35:22 -0700 |
---|---|---|
committer | Jan Tattermusch <jtattermusch@users.noreply.github.com> | 2016-05-10 20:35:22 -0700 |
commit | d6dabf9e9d6d858b552726bafb3cb69a347ed13f (patch) | |
tree | 3b079bc49329fa3b660633c85c705e10c877c38f /src/core/ext | |
parent | 7363674e11e0dfe0f922a0480a10250db72f6fd9 (diff) | |
parent | 4f5b2916cc0953de3118bb1ba191346551483ec5 (diff) |
Merge pull request #6449 from sreecha/stress_client_reconnects
Interop/Stress client that is resilient to server restarts
Diffstat (limited to 'src/core/ext')
-rw-r--r-- | src/core/ext/client_config/subchannel_call_holder.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/ext/client_config/subchannel_call_holder.c b/src/core/ext/client_config/subchannel_call_holder.c index 9918fbdcb4..91fa917661 100644 --- a/src/core/ext/client_config/subchannel_call_holder.c +++ b/src/core/ext/client_config/subchannel_call_holder.c @@ -174,6 +174,7 @@ static void subchannel_ready(grpc_exec_ctx *exec_ctx, void *arg, bool success) { GRPC_SUBCHANNEL_CALL_HOLDER_PICKING_SUBCHANNEL); holder->creation_phase = GRPC_SUBCHANNEL_CALL_HOLDER_NOT_CREATING; if (holder->connected_subchannel == NULL) { + gpr_atm_no_barrier_store(&holder->subchannel_call, 1); fail_locked(exec_ctx, holder); } else if (1 == gpr_atm_acq_load(&holder->subchannel_call)) { /* already cancelled before subchannel became ready */ |