Precondition ChannelArgs with EventEngines (#31166)
* Precondition ChannelArgs with EventEngines If an EventEngine is not explicitly provided to ChannelArgs, the default EventEngine will be set when ChannelArgs are preconditioned. * channel_idle_filter: EE from channel_args * grpclb: EE from channel_args * weighted_target: ee from channel_args * sanitize * xds cluster manager * posix native resolver: own an EE ref from iomgr initialization * reviewer feedback * reviewer feedback * iwyu * iwyu * change ownership and remove unneeded methods * clang_format and use consistent engine naming * store EE ref in channel_stack and use it in channel idle filter * don't store a separate shared_ptr in NativeDNSResolver * add GetEventEngine() method to LB policy helper interface * stop holding refs to the EE instance in LB policies * clang-format * change channel stack to get EE instance from channel args * update XdsWrrLocalityLb * fix lb_policy_test * precondition channel_args in ServerBuilder and microbenchmark fixtures * add required engine to channel_stack test * sanitize * dep fix * add EE to filter fuzzer * precondition BM_IsolatedFilter channelargs * fix * remove unused using statement * iwyu again?? * remove preconditioning from C++ surface API * fix bm_call_create * Automated change: Fix sanity tests * iwyu * rm this-> * rm unused deps * add internal EE arg macro * precondition filter_fuzzer * Automated change: Fix sanity tests * iwyu * ChannelStackBuilder requires preconditioned ChannelArgs * iwyu * iwyu again? * rm build.SetChannelArgs; rm unused declaration * fix nullptr string creation Co-authored-by: Mark D. Roth <roth@google.com> Co-authored-by: drfloob <drfloob@users.noreply.github.com>pull/31462/head
parent
c65348879a
commit
23c7e48779
40 changed files with 374 additions and 182 deletions
Loading…
Reference in new issue