[client_channel] Minimal stack should not include retry filter (#29929)

pull/29436/head
Craig Tiller 3 years ago committed by GitHub
parent 50ae54dd1c
commit de1e0b3e55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      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()); channel_args_, args_to_add.data(), args_to_add.size());
new_args = config_selector->ModifyChannelArgs(new_args); new_args = config_selector->ModifyChannelArgs(new_args);
bool enable_retries = bool enable_retries =
!grpc_channel_args_want_minimal_stack(new_args) &&
grpc_channel_args_find_bool(new_args, GRPC_ARG_ENABLE_RETRIES, true); grpc_channel_args_find_bool(new_args, GRPC_ARG_ENABLE_RETRIES, true);
// Construct dynamic filter stack. // Construct dynamic filter stack.
std::vector<const grpc_channel_filter*> filters = std::vector<const grpc_channel_filter*> filters =

Loading…
Cancel
Save