From de1e0b3e55798c50dba5c67db896b3a18fbbe280 Mon Sep 17 00:00:00 2001 From: Craig Tiller Date: Tue, 7 Jun 2022 08:26:49 -0700 Subject: [PATCH] [client_channel] Minimal stack should not include retry filter (#29929) --- src/core/ext/filters/client_channel/client_channel.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/ext/filters/client_channel/client_channel.cc b/src/core/ext/filters/client_channel/client_channel.cc index fbf8b4a99d9..50398a96149 100644 --- a/src/core/ext/filters/client_channel/client_channel.cc +++ b/src/core/ext/filters/client_channel/client_channel.cc @@ -1498,6 +1498,7 @@ void ClientChannel::UpdateServiceConfigInDataPlaneLocked() { channel_args_, args_to_add.data(), args_to_add.size()); new_args = config_selector->ModifyChannelArgs(new_args); bool enable_retries = + !grpc_channel_args_want_minimal_stack(new_args) && grpc_channel_args_find_bool(new_args, GRPC_ARG_ENABLE_RETRIES, true); // Construct dynamic filter stack. std::vector filters =