[retry] don't start a new call attempt if the timer was cancelled

pull/35729/head
Mark D. Roth 10 months ago
parent fb14685fd6
commit 899cb370ba
  1. 2
      src/core/ext/filters/client_channel/retry_filter_legacy_call_data.cc

@ -2020,8 +2020,10 @@ void RetryFilter::LegacyCallData::OnRetryTimer() {
void RetryFilter::LegacyCallData::OnRetryTimerLocked(
void* arg, grpc_error_handle /*error*/) {
auto* calld = static_cast<RetryFilter::LegacyCallData*>(arg);
if (calld->retry_timer_handle_.has_value()) {
calld->retry_timer_handle_.reset();
calld->CreateCallAttempt(/*is_transparent_retry=*/false);
}
GRPC_CALL_STACK_UNREF(calld->owning_call_, "OnRetryTimer");
}

Loading…
Cancel
Save