Merge pull request #12720 from dgquintas/grpclb_remove_silly_assert

Remove wrong assert from grpclb
pull/13110/head
David G. Quintas 7 years ago committed by GitHub
commit 4e23dcc8c3
  1. 5
      src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc

@ -1803,9 +1803,8 @@ static void glb_lb_channel_on_connectivity_changed_cb(grpc_exec_ctx *exec_ctx,
break; break;
} }
case GRPC_CHANNEL_IDLE: case GRPC_CHANNEL_IDLE:
// lb channel inactive (probably shutdown prior to update). Restart lb // lb channel inactive (probably shutdown prior to update). Restart lb
// call to kick the lb channel into gear. // call to kick the lb channel into gear.
GPR_ASSERT(glb_policy->lb_call == NULL);
/* fallthrough */ /* fallthrough */
case GRPC_CHANNEL_READY: case GRPC_CHANNEL_READY:
if (glb_policy->lb_call != NULL) { if (glb_policy->lb_call != NULL) {

Loading…
Cancel
Save