grpc 1.58.3 → 1.59.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Makefile +48 -33
- data/include/grpc/event_engine/event_engine.h +6 -10
- data/include/grpc/impl/channel_arg_names.h +4 -0
- data/include/grpc/support/port_platform.h +74 -1
- data/src/core/ext/filters/channel_idle/channel_idle_filter.cc +22 -9
- data/src/core/ext/filters/client_channel/client_channel.cc +422 -56
- data/src/core/ext/filters/client_channel/client_channel.h +52 -8
- data/src/core/ext/filters/client_channel/client_channel_plugin.cc +15 -1
- data/src/core/ext/filters/client_channel/dynamic_filters.h +2 -0
- data/src/core/ext/filters/client_channel/{http_proxy.cc → http_proxy_mapper.cc} +1 -1
- data/src/core/ext/filters/client_channel/{http_proxy.h → http_proxy_mapper.h} +3 -3
- data/src/core/ext/filters/client_channel/lb_policy/endpoint_list.cc +188 -0
- data/src/core/ext/filters/client_channel/lb_policy/endpoint_list.h +214 -0
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc +17 -4
- data/src/core/ext/filters/client_channel/lb_policy/health_check_client.cc +41 -6
- data/src/core/ext/filters/client_channel/lb_policy/health_check_client_internal.h +5 -3
- data/src/core/ext/filters/client_channel/lb_policy/outlier_detection/outlier_detection.cc +32 -103
- data/src/core/ext/filters/client_channel/lb_policy/outlier_detection/outlier_detection.h +0 -7
- data/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc +416 -139
- data/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.h +16 -0
- data/src/core/ext/filters/client_channel/lb_policy/ring_hash/ring_hash.cc +434 -459
- data/src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc +410 -26
- data/src/core/ext/filters/client_channel/lb_policy/subchannel_list.h +14 -46
- data/src/core/ext/filters/client_channel/lb_policy/weighted_round_robin/weighted_round_robin.cc +851 -57
- data/src/core/ext/filters/client_channel/lb_policy/xds/cds.cc +16 -10
- data/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_resolver.cc +47 -32
- data/src/core/ext/filters/client_channel/lb_policy/xds/xds_override_host.cc +55 -3
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc +105 -175
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc +14 -7
- data/src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc +24 -6
- data/src/core/ext/filters/client_channel/resolver/fake/fake_resolver.h +36 -2
- data/src/core/ext/filters/client_channel/resolver/xds/xds_resolver.cc +54 -44
- data/src/core/ext/filters/client_channel/subchannel.cc +33 -0
- data/src/core/ext/filters/client_channel/subchannel.h +9 -0
- data/src/core/ext/transport/chttp2/server/chttp2_server.cc +1 -1
- data/src/core/ext/transport/chttp2/transport/chttp2_transport.cc +11 -6
- data/src/core/ext/transport/chttp2/transport/flow_control.cc +28 -22
- data/src/core/ext/transport/chttp2/transport/flow_control.h +27 -4
- data/src/core/ext/transport/chttp2/transport/frame_data.h +1 -1
- data/src/core/ext/transport/chttp2/transport/frame_goaway.h +1 -1
- data/src/core/ext/transport/chttp2/transport/frame_ping.cc +9 -0
- data/src/core/ext/transport/chttp2/transport/frame_ping.h +1 -1
- data/src/core/ext/transport/chttp2/transport/frame_rst_stream.cc +1 -1
- data/src/core/ext/transport/chttp2/transport/frame_rst_stream.h +1 -1
- data/src/core/ext/transport/chttp2/transport/frame_settings.cc +1 -1
- data/src/core/ext/transport/chttp2/transport/frame_settings.h +1 -1
- data/src/core/ext/transport/chttp2/transport/frame_window_update.h +1 -1
- data/src/core/ext/transport/chttp2/transport/hpack_encoder.cc +1 -1
- data/src/core/ext/transport/chttp2/transport/hpack_parser.cc +34 -36
- data/src/core/ext/transport/chttp2/transport/hpack_parser.h +3 -3
- data/src/core/ext/transport/chttp2/transport/internal.h +66 -47
- data/src/core/ext/transport/chttp2/transport/{frame.h → legacy_frame.h} +3 -3
- data/src/core/ext/transport/chttp2/transport/parsing.cc +4 -2
- data/src/core/ext/transport/chttp2/transport/ping_abuse_policy.cc +10 -0
- data/src/core/ext/transport/chttp2/transport/ping_abuse_policy.h +4 -0
- data/src/core/ext/transport/chttp2/transport/stream_lists.cc +1 -1
- data/src/core/ext/transport/chttp2/transport/writing.cc +2 -1
- data/src/core/ext/transport/inproc/inproc_transport.cc +9 -0
- data/src/core/ext/upb-generated/envoy/admin/v3/certs.upb.c +16 -18
- data/src/core/ext/upb-generated/envoy/admin/v3/certs.upb.h +75 -83
- data/src/core/ext/upb-generated/envoy/admin/v3/clusters.upb.c +27 -29
- data/src/core/ext/upb-generated/envoy/admin/v3/clusters.upb.h +102 -110
- data/src/core/ext/upb-generated/envoy/admin/v3/config_dump.upb.c +16 -18
- data/src/core/ext/upb-generated/envoy/admin/v3/config_dump.upb.h +73 -81
- data/src/core/ext/upb-generated/envoy/admin/v3/config_dump_shared.upb.c +65 -67
- data/src/core/ext/upb-generated/envoy/admin/v3/config_dump_shared.upb.h +294 -302
- data/src/core/ext/upb-generated/envoy/admin/v3/init_dump.upb.c +4 -6
- data/src/core/ext/upb-generated/envoy/admin/v3/init_dump.upb.h +20 -28
- data/src/core/ext/upb-generated/envoy/admin/v3/listeners.upb.c +5 -7
- data/src/core/ext/upb-generated/envoy/admin/v3/listeners.upb.h +24 -32
- data/src/core/ext/upb-generated/envoy/admin/v3/memory.upb.c +7 -9
- data/src/core/ext/upb-generated/envoy/admin/v3/memory.upb.h +19 -27
- data/src/core/ext/upb-generated/envoy/admin/v3/metrics.upb.c +4 -6
- data/src/core/ext/upb-generated/envoy/admin/v3/metrics.upb.h +10 -18
- data/src/core/ext/upb-generated/envoy/admin/v3/mutex_stats.upb.c +4 -6
- data/src/core/ext/upb-generated/envoy/admin/v3/mutex_stats.upb.h +10 -18
- data/src/core/ext/upb-generated/envoy/admin/v3/server_info.upb.c +42 -44
- data/src/core/ext/upb-generated/envoy/admin/v3/server_info.upb.h +141 -149
- data/src/core/ext/upb-generated/envoy/admin/v3/tap.upb.c +3 -5
- data/src/core/ext/upb-generated/envoy/admin/v3/tap.upb.h +8 -16
- data/src/core/ext/upb-generated/envoy/annotations/deprecation.upb.c +5 -7
- data/src/core/ext/upb-generated/envoy/annotations/deprecation.upb.h +1 -9
- data/src/core/ext/upb-generated/envoy/annotations/resource.upb.c +3 -5
- data/src/core/ext/upb-generated/envoy/annotations/resource.upb.h +4 -12
- data/src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.c +36 -38
- data/src/core/ext/upb-generated/envoy/config/accesslog/v3/accesslog.upb.h +157 -165
- data/src/core/ext/upb-generated/envoy/config/bootstrap/v3/bootstrap.upb.c +87 -89
- data/src/core/ext/upb-generated/envoy/config/bootstrap/v3/bootstrap.upb.h +372 -380
- data/src/core/ext/upb-generated/envoy/config/cluster/v3/circuit_breaker.upb.c +13 -15
- data/src/core/ext/upb-generated/envoy/config/cluster/v3/circuit_breaker.upb.h +55 -63
- data/src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.c +111 -113
- data/src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.h +441 -449
- data/src/core/ext/upb-generated/envoy/config/cluster/v3/filter.upb.c +3 -5
- data/src/core/ext/upb-generated/envoy/config/cluster/v3/filter.upb.h +8 -16
- data/src/core/ext/upb-generated/envoy/config/cluster/v3/outlier_detection.upb.c +23 -25
- data/src/core/ext/upb-generated/envoy/config/cluster/v3/outlier_detection.upb.h +88 -96
- data/src/core/ext/upb-generated/envoy/config/common/matcher/v3/matcher.upb.c +40 -42
- data/src/core/ext/upb-generated/envoy/config/common/matcher/v3/matcher.upb.h +180 -188
- data/src/core/ext/upb-generated/envoy/config/core/v3/address.upb.c +26 -28
- data/src/core/ext/upb-generated/envoy/config/core/v3/address.upb.h +108 -116
- data/src/core/ext/upb-generated/envoy/config/core/v3/backoff.upb.c +3 -5
- data/src/core/ext/upb-generated/envoy/config/core/v3/backoff.upb.h +9 -17
- data/src/core/ext/upb-generated/envoy/config/core/v3/base.upb.c +65 -67
- data/src/core/ext/upb-generated/envoy/config/core/v3/base.upb.h +245 -253
- data/src/core/ext/upb-generated/envoy/config/core/v3/config_source.upb.c +27 -29
- data/src/core/ext/upb-generated/envoy/config/core/v3/config_source.upb.h +119 -127
- data/src/core/ext/upb-generated/envoy/config/core/v3/event_service_config.upb.c +2 -4
- data/src/core/ext/upb-generated/envoy/config/core/v3/event_service_config.upb.h +6 -14
- data/src/core/ext/upb-generated/envoy/config/core/v3/extension.upb.c +3 -5
- data/src/core/ext/upb-generated/envoy/config/core/v3/extension.upb.h +8 -16
- data/src/core/ext/upb-generated/envoy/config/core/v3/grpc_method_list.upb.c +4 -6
- data/src/core/ext/upb-generated/envoy/config/core/v3/grpc_method_list.upb.h +20 -28
- data/src/core/ext/upb-generated/envoy/config/core/v3/grpc_service.upb.c +49 -51
- data/src/core/ext/upb-generated/envoy/config/core/v3/grpc_service.upb.h +184 -192
- data/src/core/ext/upb-generated/envoy/config/core/v3/health_check.upb.c +49 -51
- data/src/core/ext/upb-generated/envoy/config/core/v3/health_check.upb.h +225 -233
- data/src/core/ext/upb-generated/envoy/config/core/v3/http_uri.upb.c +4 -6
- data/src/core/ext/upb-generated/envoy/config/core/v3/http_uri.upb.h +13 -21
- data/src/core/ext/upb-generated/envoy/config/core/v3/protocol.upb.c +63 -65
- data/src/core/ext/upb-generated/envoy/config/core/v3/protocol.upb.h +246 -254
- data/src/core/ext/upb-generated/envoy/config/core/v3/proxy_protocol.upb.c +5 -7
- data/src/core/ext/upb-generated/envoy/config/core/v3/proxy_protocol.upb.h +19 -27
- data/src/core/ext/upb-generated/envoy/config/core/v3/resolver.upb.c +5 -7
- data/src/core/ext/upb-generated/envoy/config/core/v3/resolver.upb.h +19 -27
- data/src/core/ext/upb-generated/envoy/config/core/v3/socket_option.upb.c +8 -10
- data/src/core/ext/upb-generated/envoy/config/core/v3/socket_option.upb.h +30 -38
- data/src/core/ext/upb-generated/envoy/config/core/v3/substitution_format_string.upb.c +7 -9
- data/src/core/ext/upb-generated/envoy/config/core/v3/substitution_format_string.upb.h +28 -36
- data/src/core/ext/upb-generated/envoy/config/core/v3/udp_socket_config.upb.c +3 -5
- data/src/core/ext/upb-generated/envoy/config/core/v3/udp_socket_config.upb.h +9 -17
- data/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint.upb.c +12 -14
- data/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint.upb.h +48 -56
- data/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint_components.upb.c +23 -25
- data/src/core/ext/upb-generated/envoy/config/endpoint/v3/endpoint_components.upb.h +92 -100
- data/src/core/ext/upb-generated/envoy/config/endpoint/v3/load_report.upb.c +27 -29
- data/src/core/ext/upb-generated/envoy/config/endpoint/v3/load_report.upb.h +108 -116
- data/src/core/ext/upb-generated/envoy/config/listener/v3/api_listener.upb.c +2 -4
- data/src/core/ext/upb-generated/envoy/config/listener/v3/api_listener.upb.h +5 -13
- data/src/core/ext/upb-generated/envoy/config/listener/v3/listener.upb.c +38 -40
- data/src/core/ext/upb-generated/envoy/config/listener/v3/listener.upb.h +167 -175
- data/src/core/ext/upb-generated/envoy/config/listener/v3/listener_components.upb.c +34 -36
- data/src/core/ext/upb-generated/envoy/config/listener/v3/listener_components.upb.h +162 -170
- data/src/core/ext/upb-generated/envoy/config/listener/v3/quic_config.upb.c +10 -12
- data/src/core/ext/upb-generated/envoy/config/listener/v3/quic_config.upb.h +37 -45
- data/src/core/ext/upb-generated/envoy/config/listener/v3/udp_listener_config.upb.c +4 -6
- data/src/core/ext/upb-generated/envoy/config/listener/v3/udp_listener_config.upb.h +13 -21
- data/src/core/ext/upb-generated/envoy/config/metrics/v3/metrics_service.upb.c +6 -8
- data/src/core/ext/upb-generated/envoy/config/metrics/v3/metrics_service.upb.h +18 -26
- data/src/core/ext/upb-generated/envoy/config/metrics/v3/stats.upb.c +22 -24
- data/src/core/ext/upb-generated/envoy/config/metrics/v3/stats.upb.h +97 -105
- data/src/core/ext/upb-generated/envoy/config/overload/v3/overload.upb.c +24 -26
- data/src/core/ext/upb-generated/envoy/config/overload/v3/overload.upb.h +111 -119
- data/src/core/ext/upb-generated/envoy/config/rbac/v3/rbac.upb.c +43 -45
- data/src/core/ext/upb-generated/envoy/config/rbac/v3/rbac.upb.h +183 -191
- data/src/core/ext/upb-generated/envoy/config/route/v3/route.upb.c +20 -22
- data/src/core/ext/upb-generated/envoy/config/route/v3/route.upb.h +102 -110
- data/src/core/ext/upb-generated/envoy/config/route/v3/route_components.upb.c +253 -255
- data/src/core/ext/upb-generated/envoy/config/route/v3/route_components.upb.h +1108 -1116
- data/src/core/ext/upb-generated/envoy/config/route/v3/scoped_route.upb.c +8 -10
- data/src/core/ext/upb-generated/envoy/config/route/v3/scoped_route.upb.h +31 -39
- data/src/core/ext/upb-generated/envoy/config/tap/v3/common.upb.c +35 -37
- data/src/core/ext/upb-generated/envoy/config/tap/v3/common.upb.h +150 -158
- data/src/core/ext/upb-generated/envoy/config/trace/v3/datadog.upb.c +4 -6
- data/src/core/ext/upb-generated/envoy/config/trace/v3/datadog.upb.h +10 -18
- data/src/core/ext/upb-generated/envoy/config/trace/v3/dynamic_ot.upb.c +3 -5
- data/src/core/ext/upb-generated/envoy/config/trace/v3/dynamic_ot.upb.h +8 -16
- data/src/core/ext/upb-generated/envoy/config/trace/v3/http_tracer.upb.c +4 -6
- data/src/core/ext/upb-generated/envoy/config/trace/v3/http_tracer.upb.h +13 -21
- data/src/core/ext/upb-generated/envoy/config/trace/v3/lightstep.upb.c +5 -7
- data/src/core/ext/upb-generated/envoy/config/trace/v3/lightstep.upb.h +19 -27
- data/src/core/ext/upb-generated/envoy/config/trace/v3/opencensus.upb.c +14 -16
- data/src/core/ext/upb-generated/envoy/config/trace/v3/opencensus.upb.h +53 -61
- data/src/core/ext/upb-generated/envoy/config/trace/v3/opentelemetry.upb.c +3 -5
- data/src/core/ext/upb-generated/envoy/config/trace/v3/opentelemetry.upb.h +8 -16
- data/src/core/ext/upb-generated/envoy/config/trace/v3/service.upb.c +2 -4
- data/src/core/ext/upb-generated/envoy/config/trace/v3/service.upb.h +5 -13
- data/src/core/ext/upb-generated/envoy/config/trace/v3/skywalking.upb.c +7 -9
- data/src/core/ext/upb-generated/envoy/config/trace/v3/skywalking.upb.h +24 -32
- data/src/core/ext/upb-generated/envoy/config/trace/v3/trace.upb.c +1 -3
- data/src/core/ext/upb-generated/envoy/config/trace/v3/trace.upb.h +1 -9
- data/src/core/ext/upb-generated/envoy/config/trace/v3/xray.upb.c +7 -9
- data/src/core/ext/upb-generated/envoy/config/trace/v3/xray.upb.h +23 -31
- data/src/core/ext/upb-generated/envoy/config/trace/v3/zipkin.upb.c +8 -10
- data/src/core/ext/upb-generated/envoy/config/trace/v3/zipkin.upb.h +23 -31
- data/src/core/ext/upb-generated/envoy/data/accesslog/v3/accesslog.upb.c +114 -116
- data/src/core/ext/upb-generated/envoy/data/accesslog/v3/accesslog.upb.h +372 -380
- data/src/core/ext/upb-generated/envoy/extensions/clusters/aggregate/v3/cluster.upb.c +2 -4
- data/src/core/ext/upb-generated/envoy/extensions/clusters/aggregate/v3/cluster.upb.h +9 -17
- data/src/core/ext/upb-generated/envoy/extensions/filters/common/fault/v3/fault.upb.c +8 -10
- data/src/core/ext/upb-generated/envoy/extensions/filters/common/fault/v3/fault.upb.h +30 -38
- data/src/core/ext/upb-generated/envoy/extensions/filters/http/fault/v3/fault.upb.c +21 -23
- data/src/core/ext/upb-generated/envoy/extensions/filters/http/fault/v3/fault.upb.h +81 -89
- data/src/core/ext/upb-generated/envoy/extensions/filters/http/rbac/v3/rbac.upb.c +7 -9
- data/src/core/ext/upb-generated/envoy/extensions/filters/http/rbac/v3/rbac.upb.h +24 -32
- data/src/core/ext/upb-generated/envoy/extensions/filters/http/router/v3/router.upb.c +12 -14
- data/src/core/ext/upb-generated/envoy/extensions/filters/http/router/v3/router.upb.h +52 -60
- data/src/core/ext/upb-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.c +4 -6
- data/src/core/ext/upb-generated/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.h +14 -22
- data/src/core/ext/upb-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.c +114 -116
- data/src/core/ext/upb-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.h +468 -476
- data/src/core/ext/upb-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.c +2 -4
- data/src/core/ext/upb-generated/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.h +5 -13
- data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.c +7 -9
- data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.h +25 -33
- data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/common/v3/common.upb.c +11 -13
- data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/common/v3/common.upb.h +40 -48
- data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.c +2 -4
- data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.h +4 -12
- data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.c +8 -10
- data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.h +27 -35
- data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.c +2 -4
- data/src/core/ext/upb-generated/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.h +5 -13
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/cert.upb.c +1 -3
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/cert.upb.h +1 -9
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/common.upb.c +35 -37
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/common.upb.h +165 -173
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/secret.upb.c +9 -11
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/secret.upb.h +32 -40
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls.upb.c +39 -41
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls.upb.h +169 -177
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.c +4 -6
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.h +16 -24
- data/src/core/ext/upb-generated/envoy/service/discovery/v3/ads.upb.c +1 -3
- data/src/core/ext/upb-generated/envoy/service/discovery/v3/ads.upb.h +1 -9
- data/src/core/ext/upb-generated/envoy/service/discovery/v3/discovery.upb.c +55 -57
- data/src/core/ext/upb-generated/envoy/service/discovery/v3/discovery.upb.h +241 -249
- data/src/core/ext/upb-generated/envoy/service/load_stats/v3/lrs.upb.c +7 -9
- data/src/core/ext/upb-generated/envoy/service/load_stats/v3/lrs.upb.h +31 -39
- data/src/core/ext/upb-generated/envoy/service/status/v3/csds.upb.c +23 -25
- data/src/core/ext/upb-generated/envoy/service/status/v3/csds.upb.h +98 -106
- data/src/core/ext/upb-generated/envoy/type/http/v3/cookie.upb.c +4 -6
- data/src/core/ext/upb-generated/envoy/type/http/v3/cookie.upb.h +11 -19
- data/src/core/ext/upb-generated/envoy/type/http/v3/path_transformation.upb.c +4 -6
- data/src/core/ext/upb-generated/envoy/type/http/v3/path_transformation.upb.h +18 -26
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/filter_state.upb.c +3 -5
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/filter_state.upb.h +9 -17
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/http_inputs.upb.c +6 -8
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/http_inputs.upb.h +16 -24
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/metadata.upb.c +6 -8
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/metadata.upb.h +24 -32
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/node.upb.c +3 -5
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/node.upb.h +13 -21
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/number.upb.c +3 -5
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/number.upb.h +10 -18
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/path.upb.c +2 -4
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/path.upb.h +6 -14
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/regex.upb.c +6 -8
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/regex.upb.h +20 -28
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/status_code_input.upb.c +1 -3
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/status_code_input.upb.h +1 -9
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/string.upb.c +8 -10
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/string.upb.h +33 -41
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/struct.upb.c +4 -6
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/struct.upb.h +18 -26
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/value.upb.c +8 -10
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/value.upb.h +31 -39
- data/src/core/ext/upb-generated/envoy/type/metadata/v3/metadata.upb.c +8 -10
- data/src/core/ext/upb-generated/envoy/type/metadata/v3/metadata.upb.h +34 -42
- data/src/core/ext/upb-generated/envoy/type/tracing/v3/custom_tag.upb.c +14 -16
- data/src/core/ext/upb-generated/envoy/type/tracing/v3/custom_tag.upb.h +47 -55
- data/src/core/ext/upb-generated/envoy/type/v3/hash_policy.upb.c +4 -6
- data/src/core/ext/upb-generated/envoy/type/v3/hash_policy.upb.h +13 -21
- data/src/core/ext/upb-generated/envoy/type/v3/http.upb.c +1 -3
- data/src/core/ext/upb-generated/envoy/type/v3/http.upb.h +1 -9
- data/src/core/ext/upb-generated/envoy/type/v3/http_status.upb.c +2 -4
- data/src/core/ext/upb-generated/envoy/type/v3/http_status.upb.h +4 -12
- data/src/core/ext/upb-generated/envoy/type/v3/percent.upb.c +4 -6
- data/src/core/ext/upb-generated/envoy/type/v3/percent.upb.h +10 -18
- data/src/core/ext/upb-generated/envoy/type/v3/range.upb.c +7 -9
- data/src/core/ext/upb-generated/envoy/type/v3/range.upb.h +19 -27
- data/src/core/ext/upb-generated/envoy/type/v3/ratelimit_strategy.upb.c +6 -8
- data/src/core/ext/upb-generated/envoy/type/v3/ratelimit_strategy.upb.h +20 -28
- data/src/core/ext/upb-generated/envoy/type/v3/ratelimit_unit.upb.c +1 -3
- data/src/core/ext/upb-generated/envoy/type/v3/ratelimit_unit.upb.h +1 -9
- data/src/core/ext/upb-generated/envoy/type/v3/semantic_version.upb.c +4 -6
- data/src/core/ext/upb-generated/envoy/type/v3/semantic_version.upb.h +10 -18
- data/src/core/ext/upb-generated/envoy/type/v3/token_bucket.upb.c +4 -6
- data/src/core/ext/upb-generated/envoy/type/v3/token_bucket.upb.h +12 -20
- data/src/core/ext/upb-generated/google/api/annotations.upb.c +2 -4
- data/src/core/ext/upb-generated/google/api/annotations.upb.h +1 -9
- data/src/core/ext/upb-generated/google/api/expr/v1alpha1/checked.upb.c +45 -47
- data/src/core/ext/upb-generated/google/api/expr/v1alpha1/checked.upb.h +190 -198
- data/src/core/ext/upb-generated/google/api/expr/v1alpha1/syntax.upb.c +54 -56
- data/src/core/ext/upb-generated/google/api/expr/v1alpha1/syntax.upb.h +210 -218
- data/src/core/ext/upb-generated/google/api/http.upb.c +15 -17
- data/src/core/ext/upb-generated/google/api/http.upb.h +60 -68
- data/src/core/ext/upb-generated/google/api/httpbody.upb.c +4 -6
- data/src/core/ext/upb-generated/google/api/httpbody.upb.h +15 -23
- data/src/core/ext/upb-generated/google/protobuf/any.upb.c +3 -5
- data/src/core/ext/upb-generated/google/protobuf/any.upb.h +7 -15
- data/src/core/ext/upb-generated/google/protobuf/descriptor.upb.c +359 -204
- data/src/core/ext/upb-generated/google/protobuf/descriptor.upb.h +1340 -760
- data/src/core/ext/upb-generated/google/protobuf/duration.upb.c +3 -5
- data/src/core/ext/upb-generated/google/protobuf/duration.upb.h +7 -15
- data/src/core/ext/upb-generated/google/protobuf/empty.upb.c +1 -3
- data/src/core/ext/upb-generated/google/protobuf/empty.upb.h +1 -9
- data/src/core/ext/upb-generated/google/protobuf/struct.upb.c +11 -13
- data/src/core/ext/upb-generated/google/protobuf/struct.upb.h +43 -51
- data/src/core/ext/upb-generated/google/protobuf/timestamp.upb.c +3 -5
- data/src/core/ext/upb-generated/google/protobuf/timestamp.upb.h +7 -15
- data/src/core/ext/upb-generated/google/protobuf/wrappers.upb.c +10 -12
- data/src/core/ext/upb-generated/google/protobuf/wrappers.upb.h +28 -36
- data/src/core/ext/upb-generated/google/rpc/status.upb.c +4 -6
- data/src/core/ext/upb-generated/google/rpc/status.upb.h +15 -23
- data/src/core/ext/upb-generated/opencensus/proto/trace/v1/trace_config.upb.c +11 -13
- data/src/core/ext/upb-generated/opencensus/proto/trace/v1/trace_config.upb.h +35 -43
- data/src/core/ext/upb-generated/src/proto/grpc/gcp/altscontext.upb.c +10 -12
- data/src/core/ext/upb-generated/src/proto/grpc/gcp/altscontext.upb.h +28 -36
- data/src/core/ext/upb-generated/src/proto/grpc/gcp/handshaker.upb.c +48 -50
- data/src/core/ext/upb-generated/src/proto/grpc/gcp/handshaker.upb.h +190 -198
- data/src/core/ext/upb-generated/src/proto/grpc/gcp/transport_security_common.upb.c +5 -7
- data/src/core/ext/upb-generated/src/proto/grpc/gcp/transport_security_common.upb.h +15 -23
- data/src/core/ext/upb-generated/src/proto/grpc/health/v1/health.upb.c +3 -5
- data/src/core/ext/upb-generated/src/proto/grpc/health/v1/health.upb.h +7 -15
- data/src/core/ext/upb-generated/src/proto/grpc/lb/v1/load_balancer.upb.c +21 -23
- data/src/core/ext/upb-generated/src/proto/grpc/lb/v1/load_balancer.upb.h +80 -88
- data/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls.upb.c +9 -11
- data/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls.upb.h +29 -37
- data/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls_config.upb.c +32 -34
- data/src/core/ext/upb-generated/src/proto/grpc/lookup/v1/rls_config.upb.h +147 -155
- data/src/core/ext/upb-generated/udpa/annotations/migrate.upb.c +10 -12
- data/src/core/ext/upb-generated/udpa/annotations/migrate.upb.h +13 -21
- data/src/core/ext/upb-generated/udpa/annotations/security.upb.c +4 -6
- data/src/core/ext/upb-generated/udpa/annotations/security.upb.h +7 -15
- data/src/core/ext/upb-generated/udpa/annotations/sensitive.upb.c +2 -4
- data/src/core/ext/upb-generated/udpa/annotations/sensitive.upb.h +1 -9
- data/src/core/ext/upb-generated/udpa/annotations/status.upb.c +4 -6
- data/src/core/ext/upb-generated/udpa/annotations/status.upb.h +7 -15
- data/src/core/ext/upb-generated/udpa/annotations/versioning.upb.c +3 -5
- data/src/core/ext/upb-generated/udpa/annotations/versioning.upb.h +4 -12
- data/src/core/ext/upb-generated/validate/validate.upb.c +201 -203
- data/src/core/ext/upb-generated/validate/validate.upb.h +924 -932
- data/src/core/ext/upb-generated/xds/annotations/v3/migrate.upb.c +10 -12
- data/src/core/ext/upb-generated/xds/annotations/v3/migrate.upb.h +13 -21
- data/src/core/ext/upb-generated/xds/annotations/v3/security.upb.c +4 -6
- data/src/core/ext/upb-generated/xds/annotations/v3/security.upb.h +7 -15
- data/src/core/ext/upb-generated/xds/annotations/v3/sensitive.upb.c +2 -4
- data/src/core/ext/upb-generated/xds/annotations/v3/sensitive.upb.h +1 -9
- data/src/core/ext/upb-generated/xds/annotations/v3/status.upb.c +9 -11
- data/src/core/ext/upb-generated/xds/annotations/v3/status.upb.h +16 -24
- data/src/core/ext/upb-generated/xds/annotations/v3/versioning.upb.c +3 -5
- data/src/core/ext/upb-generated/xds/annotations/v3/versioning.upb.h +4 -12
- data/src/core/ext/upb-generated/xds/core/v3/authority.upb.c +2 -4
- data/src/core/ext/upb-generated/xds/core/v3/authority.upb.h +4 -12
- data/src/core/ext/upb-generated/xds/core/v3/cidr.upb.c +3 -5
- data/src/core/ext/upb-generated/xds/core/v3/cidr.upb.h +8 -16
- data/src/core/ext/upb-generated/xds/core/v3/collection_entry.upb.c +6 -8
- data/src/core/ext/upb-generated/xds/core/v3/collection_entry.upb.h +20 -28
- data/src/core/ext/upb-generated/xds/core/v3/context_params.upb.c +4 -6
- data/src/core/ext/upb-generated/xds/core/v3/context_params.upb.h +9 -17
- data/src/core/ext/upb-generated/xds/core/v3/extension.upb.c +3 -5
- data/src/core/ext/upb-generated/xds/core/v3/extension.upb.h +8 -16
- data/src/core/ext/upb-generated/xds/core/v3/resource.upb.c +4 -6
- data/src/core/ext/upb-generated/xds/core/v3/resource.upb.h +12 -20
- data/src/core/ext/upb-generated/xds/core/v3/resource_locator.upb.c +9 -11
- data/src/core/ext/upb-generated/xds/core/v3/resource_locator.upb.h +35 -43
- data/src/core/ext/upb-generated/xds/core/v3/resource_name.upb.c +5 -7
- data/src/core/ext/upb-generated/xds/core/v3/resource_name.upb.h +14 -22
- data/src/core/ext/upb-generated/xds/data/orca/v3/orca_load_report.upb.c +16 -18
- data/src/core/ext/upb-generated/xds/data/orca/v3/orca_load_report.upb.h +43 -51
- data/src/core/ext/upb-generated/xds/service/orca/v3/orca.upb.c +3 -5
- data/src/core/ext/upb-generated/xds/service/orca/v3/orca.upb.h +13 -21
- data/src/core/ext/upb-generated/xds/type/matcher/v3/cel.upb.c +2 -4
- data/src/core/ext/upb-generated/xds/type/matcher/v3/cel.upb.h +5 -13
- data/src/core/ext/upb-generated/xds/type/matcher/v3/domain.upb.c +4 -6
- data/src/core/ext/upb-generated/xds/type/matcher/v3/domain.upb.h +21 -29
- data/src/core/ext/upb-generated/xds/type/matcher/v3/http_inputs.upb.c +1 -3
- data/src/core/ext/upb-generated/xds/type/matcher/v3/http_inputs.upb.h +1 -9
- data/src/core/ext/upb-generated/xds/type/matcher/v3/ip.upb.c +5 -7
- data/src/core/ext/upb-generated/xds/type/matcher/v3/ip.upb.h +24 -32
- data/src/core/ext/upb-generated/xds/type/matcher/v3/matcher.upb.c +24 -26
- data/src/core/ext/upb-generated/xds/type/matcher/v3/matcher.upb.h +103 -111
- data/src/core/ext/upb-generated/xds/type/matcher/v3/range.upb.c +10 -12
- data/src/core/ext/upb-generated/xds/type/matcher/v3/range.upb.h +61 -69
- data/src/core/ext/upb-generated/xds/type/matcher/v3/regex.upb.c +3 -5
- data/src/core/ext/upb-generated/xds/type/matcher/v3/regex.upb.h +9 -17
- data/src/core/ext/upb-generated/xds/type/matcher/v3/string.upb.c +8 -10
- data/src/core/ext/upb-generated/xds/type/matcher/v3/string.upb.h +33 -41
- data/src/core/ext/upb-generated/xds/type/v3/cel.upb.c +5 -7
- data/src/core/ext/upb-generated/xds/type/v3/cel.upb.h +18 -26
- data/src/core/ext/upb-generated/xds/type/v3/range.upb.c +7 -9
- data/src/core/ext/upb-generated/xds/type/v3/range.upb.h +19 -27
- data/src/core/ext/upb-generated/xds/type/v3/typed_struct.upb.c +3 -5
- data/src/core/ext/upb-generated/xds/type/v3/typed_struct.upb.h +8 -16
- data/src/core/ext/upbdefs-generated/google/protobuf/descriptor.upbdefs.c +367 -290
- data/src/core/ext/upbdefs-generated/google/protobuf/descriptor.upbdefs.h +10 -0
- data/src/core/ext/xds/xds_client.cc +6 -9
- data/src/core/ext/xds/xds_client.h +2 -2
- data/src/core/ext/xds/xds_cluster.cc +30 -42
- data/src/core/ext/xds/xds_cluster.h +0 -4
- data/src/core/ext/xds/xds_endpoint.cc +12 -19
- data/src/core/ext/xds/xds_endpoint.h +0 -1
- data/src/core/ext/xds/xds_http_filters.cc +1 -4
- data/src/core/ext/xds/xds_listener.cc +14 -14
- data/src/core/ext/xds/xds_listener.h +13 -3
- data/src/core/ext/xds/xds_resource_type.h +1 -7
- data/src/core/ext/xds/xds_resource_type_impl.h +9 -11
- data/src/core/ext/xds/xds_route_config.cc +10 -11
- data/src/core/ext/xds/xds_route_config.h +1 -1
- data/src/core/ext/xds/xds_server_config_fetcher.cc +53 -28
- data/src/core/ext/xds/xds_transport_grpc.cc +11 -1
- data/src/core/lib/backoff/random_early_detection.cc +4 -2
- data/src/core/lib/backoff/random_early_detection.h +2 -4
- data/src/core/lib/channel/call_tracer.cc +7 -1
- data/src/core/lib/channel/call_tracer.h +4 -1
- data/src/core/lib/channel/channelz_registry.h +4 -2
- data/src/core/lib/channel/connected_channel.cc +1 -1
- data/src/core/lib/config/config_vars.h +1 -1
- data/src/core/lib/config/core_configuration.cc +2 -1
- data/src/core/lib/config/core_configuration.h +5 -4
- data/src/core/lib/debug/stats_data.cc +146 -51
- data/src/core/lib/debug/stats_data.h +81 -20
- data/src/core/lib/event_engine/cf_engine/cf_engine.cc +3 -0
- data/src/core/lib/event_engine/cf_engine/cf_engine.h +3 -0
- data/src/core/lib/event_engine/cf_engine/cfstream_endpoint.cc +3 -0
- data/src/core/lib/event_engine/cf_engine/cfstream_endpoint.h +3 -0
- data/src/core/lib/event_engine/cf_engine/cftype_unique_ref.h +3 -0
- data/src/core/lib/event_engine/cf_engine/dns_service_resolver.cc +15 -3
- data/src/core/lib/event_engine/cf_engine/dns_service_resolver.h +3 -0
- data/src/core/lib/event_engine/posix_engine/tcp_socket_utils.cc +1 -1
- data/src/core/lib/event_engine/thread_pool/thread_count.h +15 -0
- data/src/core/lib/event_engine/thread_pool/thread_pool_factory.cc +3 -15
- data/src/core/lib/event_engine/thread_pool/work_stealing_thread_pool.cc +10 -4
- data/src/core/lib/experiments/config.cc +9 -1
- data/src/core/lib/experiments/experiments.cc +144 -60
- data/src/core/lib/experiments/experiments.h +146 -41
- data/src/core/lib/gprpp/fork.h +1 -1
- data/src/core/lib/gprpp/manual_constructor.h +1 -2
- data/src/core/lib/gprpp/no_destruct.h +1 -1
- data/src/core/lib/gprpp/per_cpu.cc +2 -0
- data/src/core/lib/gprpp/per_cpu.h +36 -7
- data/src/core/lib/gprpp/ref_counted_ptr.h +63 -0
- data/src/core/lib/gprpp/work_serializer.cc +297 -25
- data/src/core/lib/gprpp/work_serializer.h +25 -9
- data/src/core/lib/iomgr/combiner.cc +54 -15
- data/src/core/lib/iomgr/combiner.h +8 -3
- data/src/core/lib/iomgr/event_engine_shims/endpoint.cc +2 -4
- data/src/core/lib/iomgr/exec_ctx.cc +12 -0
- data/src/core/lib/iomgr/exec_ctx.h +55 -19
- data/src/core/lib/iomgr/polling_entity.cc +10 -0
- data/src/core/lib/iomgr/polling_entity.h +2 -0
- data/src/core/lib/iomgr/port.h +14 -0
- data/src/core/lib/iomgr/tcp_posix.cc +17 -14
- data/src/core/lib/load_balancing/lb_policy.h +10 -9
- data/src/core/lib/promise/arena_promise.h +5 -1
- data/src/core/lib/promise/detail/seq_state.h +418 -0
- data/src/core/lib/promise/latch.h +1 -0
- data/src/core/lib/promise/loop.h +8 -5
- data/src/core/lib/promise/pipe.h +24 -24
- data/src/core/lib/promise/poll.h +4 -6
- data/src/core/lib/resolver/server_address.h +1 -0
- data/src/core/lib/resource_quota/memory_quota.cc +58 -2
- data/src/core/lib/resource_quota/memory_quota.h +4 -1
- data/src/core/lib/security/credentials/ssl/ssl_credentials.cc +115 -9
- data/src/core/lib/security/credentials/ssl/ssl_credentials.h +14 -0
- data/src/core/lib/security/credentials/tls/grpc_tls_certificate_match.cc +86 -0
- data/src/core/lib/security/credentials/tls/grpc_tls_certificate_provider.cc +0 -59
- data/src/core/lib/security/credentials/tls/grpc_tls_certificate_verifier.h +2 -0
- data/src/core/lib/security/security_connector/ssl/ssl_security_connector.cc +7 -57
- data/src/core/lib/security/security_connector/ssl/ssl_security_connector.h +1 -1
- data/src/core/lib/security/security_connector/tls/tls_security_connector.cc +2 -14
- data/src/core/lib/slice/slice.h +6 -0
- data/src/core/lib/slice/slice_buffer.cc +15 -0
- data/src/core/lib/slice/slice_buffer.h +16 -4
- data/src/core/lib/slice/slice_refcount.h +1 -1
- data/src/core/lib/surface/call.cc +92 -34
- data/src/core/lib/surface/call.h +4 -0
- data/src/core/lib/surface/channel.cc +7 -4
- data/src/core/lib/surface/channel_init.h +3 -2
- data/src/core/lib/surface/server.cc +45 -5
- data/src/core/lib/surface/server.h +18 -6
- data/src/core/lib/surface/version.cc +2 -2
- data/src/core/lib/transport/batch_builder.cc +3 -5
- data/src/core/lib/transport/metadata_batch.cc +6 -0
- data/src/core/lib/transport/metadata_batch.h +20 -1
- data/src/core/lib/transport/parsed_metadata.h +2 -4
- data/src/core/lib/transport/simple_slice_based_metadata.h +1 -2
- data/src/core/lib/transport/transport.h +21 -11
- data/src/core/tsi/ssl_transport_security.cc +7 -0
- data/src/core/tsi/ssl_transport_security.h +4 -0
- data/src/ruby/ext/grpc/extconf.rb +1 -1
- data/src/ruby/ext/grpc/rb_channel_args.c +6 -4
- data/src/ruby/lib/grpc/version.rb +1 -1
- data/src/ruby/pb/src/proto/grpc/testing/messages_pb.rb +4 -1
- data/third_party/abseil-cpp/absl/random/bit_gen_ref.h +185 -0
- data/third_party/upb/upb/collections/array.c +6 -0
- data/third_party/upb/upb/collections/array.h +6 -0
- data/third_party/upb/upb/collections/map.c +7 -0
- data/third_party/upb/upb/collections/map.h +5 -0
- data/third_party/upb/upb/collections/map_sorter_internal.h +1 -1
- data/third_party/upb/upb/collections/message_value.h +8 -1
- data/third_party/upb/upb/generated_code_support.h +54 -0
- data/third_party/upb/upb/hash/common.c +5 -0
- data/third_party/upb/upb/hash/common.h +1 -0
- data/third_party/upb/upb/hash/str_table.h +1 -0
- data/third_party/upb/upb/message/accessors.c +25 -1
- data/third_party/upb/upb/message/accessors.h +46 -25
- data/third_party/upb/upb/message/accessors_internal.h +69 -3
- data/third_party/upb/upb/message/extension_internal.h +1 -1
- data/third_party/upb/upb/message/internal/map_entry.h +64 -0
- data/third_party/upb/upb/message/internal.h +2 -6
- data/third_party/upb/upb/message/message.c +0 -6
- data/third_party/upb/upb/message/message.h +1 -1
- data/third_party/upb/upb/message/tagged_ptr.h +89 -0
- data/third_party/upb/upb/mini_descriptor/build_enum.c +150 -0
- data/third_party/upb/upb/mini_descriptor/build_enum.h +63 -0
- data/third_party/upb/upb/{mini_table → mini_descriptor}/decode.c +122 -374
- data/third_party/upb/upb/{mini_table → mini_descriptor}/decode.h +11 -50
- data/third_party/upb/upb/mini_descriptor/internal/base92.c +46 -0
- data/third_party/upb/upb/mini_descriptor/internal/base92.h +81 -0
- data/third_party/upb/upb/mini_descriptor/internal/decoder.h +73 -0
- data/third_party/upb/upb/{mini_table → mini_descriptor/internal}/encode.c +58 -32
- data/third_party/upb/upb/{mini_table/encode_internal.h → mini_descriptor/internal/encode.h} +3 -4
- data/third_party/upb/upb/{mini_table/encode_internal.hpp → mini_descriptor/internal/encode.hpp} +1 -1
- data/third_party/upb/upb/mini_descriptor/internal/modifiers.h +50 -0
- data/third_party/upb/upb/{mini_table/common_internal.h → mini_descriptor/internal/wire_constants.h} +3 -23
- data/third_party/upb/upb/mini_descriptor/link.c +142 -0
- data/third_party/upb/upb/mini_descriptor/link.h +104 -0
- data/third_party/upb/upb/mini_table/{types.h → enum.h} +19 -9
- data/third_party/upb/upb/mini_table/extension.h +40 -0
- data/third_party/upb/upb/mini_table/extension_registry.c +1 -1
- data/third_party/upb/upb/mini_table/extension_registry.h +2 -1
- data/third_party/upb/upb/mini_table/field.h +118 -0
- data/third_party/upb/upb/{json_decode.h → mini_table/file.h} +5 -6
- data/third_party/upb/upb/mini_table/{enum_internal.h → internal/enum.h} +7 -19
- data/third_party/upb/upb/mini_table/{extension_internal.h → internal/extension.h} +8 -8
- data/third_party/upb/upb/mini_table/{field_internal.h → internal/field.h} +10 -66
- data/third_party/upb/upb/mini_table/{file_internal.h → internal/file.h} +6 -4
- data/third_party/upb/upb/mini_table/internal/message.c +39 -0
- data/third_party/upb/upb/mini_table/{message_internal.h → internal/message.h} +14 -37
- data/third_party/upb/upb/mini_table/{sub_internal.h → internal/sub.h} +7 -6
- data/third_party/upb/upb/mini_table/{common.c → message.c} +2 -33
- data/third_party/upb/upb/mini_table/{common.h → message.h} +12 -77
- data/third_party/upb/upb/{json_encode.h → mini_table/sub.h} +5 -6
- data/third_party/upb/upb/reflection/def.hpp +16 -4
- data/third_party/upb/upb/reflection/def_pool_internal.h +1 -1
- data/third_party/upb/upb/reflection/desc_state_internal.h +1 -1
- data/third_party/upb/upb/reflection/enum_def.c +1 -1
- data/third_party/upb/upb/reflection/field_def.c +2 -1
- data/third_party/upb/upb/reflection/message.c +2 -2
- data/third_party/upb/upb/reflection/message_def.c +3 -1
- data/third_party/upb/upb/wire/decode.c +68 -29
- data/third_party/upb/upb/wire/decode.h +40 -0
- data/third_party/upb/upb/wire/encode.c +23 -13
- metadata +43 -27
- data/src/core/lib/event_engine/thread_pool/original_thread_pool.cc +0 -256
- data/src/core/lib/event_engine/thread_pool/original_thread_pool.h +0 -137
@@ -28,6 +28,7 @@
|
|
28
28
|
|
29
29
|
#include "absl/status/status.h"
|
30
30
|
#include "absl/status/statusor.h"
|
31
|
+
#include "absl/strings/str_cat.h"
|
31
32
|
#include "absl/strings/string_view.h"
|
32
33
|
#include "absl/types/optional.h"
|
33
34
|
#include "upb/base/string_view.h"
|
@@ -44,6 +45,7 @@
|
|
44
45
|
#include "src/core/ext/filters/client_channel/lb_policy/health_check_client_internal.h"
|
45
46
|
#include "src/core/ext/filters/client_channel/subchannel.h"
|
46
47
|
#include "src/core/ext/filters/client_channel/subchannel_stream_client.h"
|
48
|
+
#include "src/core/lib/address_utils/sockaddr_utils.h"
|
47
49
|
#include "src/core/lib/channel/channel_args.h"
|
48
50
|
#include "src/core/lib/channel/channel_trace.h"
|
49
51
|
#include "src/core/lib/debug/trace.h"
|
@@ -114,7 +116,7 @@ void HealthProducer::HealthChecker::Orphan() {
|
|
114
116
|
|
115
117
|
void HealthProducer::HealthChecker::AddWatcherLocked(HealthWatcher* watcher) {
|
116
118
|
watchers_.insert(watcher);
|
117
|
-
watcher->Notify(state_, status_);
|
119
|
+
if (state_.has_value()) watcher->Notify(*state_, status_);
|
118
120
|
}
|
119
121
|
|
120
122
|
bool HealthProducer::HealthChecker::RemoveWatcherLocked(
|
@@ -128,13 +130,18 @@ void HealthProducer::HealthChecker::OnConnectivityStateChangeLocked(
|
|
128
130
|
if (state == GRPC_CHANNEL_READY) {
|
129
131
|
// We should already be in CONNECTING, and we don't want to change
|
130
132
|
// that until we see the initial response on the stream.
|
131
|
-
|
133
|
+
if (!state_.has_value()) {
|
134
|
+
state_ = GRPC_CHANNEL_CONNECTING;
|
135
|
+
status_ = absl::OkStatus();
|
136
|
+
} else {
|
137
|
+
GPR_ASSERT(state_ == GRPC_CHANNEL_CONNECTING);
|
138
|
+
}
|
132
139
|
// Start the health watch stream.
|
133
140
|
StartHealthStreamLocked();
|
134
141
|
} else {
|
135
142
|
state_ = state;
|
136
143
|
status_ = status;
|
137
|
-
NotifyWatchersLocked(state_, status_);
|
144
|
+
NotifyWatchersLocked(*state_, status_);
|
138
145
|
// We're not connected, so stop health checking.
|
139
146
|
stream_client_.reset();
|
140
147
|
}
|
@@ -177,12 +184,21 @@ void HealthProducer::HealthChecker::NotifyWatchersLocked(
|
|
177
184
|
void HealthProducer::HealthChecker::OnHealthWatchStatusChange(
|
178
185
|
grpc_connectivity_state state, const absl::Status& status) {
|
179
186
|
if (state == GRPC_CHANNEL_SHUTDOWN) return;
|
187
|
+
// Prepend the subchannel's address to the status if needed.
|
188
|
+
absl::Status use_status;
|
189
|
+
if (!status.ok()) {
|
190
|
+
std::string address_str =
|
191
|
+
grpc_sockaddr_to_uri(&producer_->subchannel_->address())
|
192
|
+
.value_or("<unknown address type>");
|
193
|
+
use_status = absl::Status(
|
194
|
+
status.code(), absl::StrCat(address_str, ": ", status.message()));
|
195
|
+
}
|
180
196
|
work_serializer_->Schedule(
|
181
|
-
[self = Ref(), state, status]() {
|
197
|
+
[self = Ref(), state, status = std::move(use_status)]() mutable {
|
182
198
|
MutexLock lock(&self->producer_->mu_);
|
183
199
|
if (self->stream_client_ != nullptr) {
|
184
200
|
self->state_ = state;
|
185
|
-
self->status_ = status;
|
201
|
+
self->status_ = std::move(status);
|
186
202
|
for (HealthWatcher* watcher : self->watchers_) {
|
187
203
|
watcher->Notify(state, self->status_);
|
188
204
|
}
|
@@ -364,7 +380,7 @@ void HealthProducer::AddWatcher(
|
|
364
380
|
grpc_pollset_set_add_pollset_set(interested_parties_,
|
365
381
|
watcher->interested_parties());
|
366
382
|
if (!health_check_service_name.has_value()) {
|
367
|
-
watcher->Notify(state_, status_);
|
383
|
+
if (state_.has_value()) watcher->Notify(*state_, status_);
|
368
384
|
non_health_watchers_.insert(watcher);
|
369
385
|
} else {
|
370
386
|
auto it =
|
@@ -421,6 +437,13 @@ void HealthProducer::OnConnectivityStateChange(grpc_connectivity_state state,
|
|
421
437
|
//
|
422
438
|
|
423
439
|
HealthWatcher::~HealthWatcher() {
|
440
|
+
if (GRPC_TRACE_FLAG_ENABLED(grpc_health_check_client_trace)) {
|
441
|
+
gpr_log(GPR_INFO,
|
442
|
+
"HealthWatcher %p: unregistering from producer %p "
|
443
|
+
"(health_check_service_name=\"%s\")",
|
444
|
+
this, producer_.get(),
|
445
|
+
health_check_service_name_.value_or("N/A").c_str());
|
446
|
+
}
|
424
447
|
if (producer_ != nullptr) {
|
425
448
|
producer_->RemoveWatcher(this, health_check_service_name_);
|
426
449
|
}
|
@@ -447,6 +470,13 @@ void HealthWatcher::SetSubchannel(Subchannel* subchannel) {
|
|
447
470
|
if (created) producer_->Start(subchannel->Ref());
|
448
471
|
// Register ourself with the producer.
|
449
472
|
producer_->AddWatcher(this, health_check_service_name_);
|
473
|
+
if (GRPC_TRACE_FLAG_ENABLED(grpc_health_check_client_trace)) {
|
474
|
+
gpr_log(GPR_INFO,
|
475
|
+
"HealthWatcher %p: registered with producer %p (created=%d, "
|
476
|
+
"health_check_service_name=\"%s\")",
|
477
|
+
this, producer_.get(), created,
|
478
|
+
health_check_service_name_.value_or("N/A").c_str());
|
479
|
+
}
|
450
480
|
}
|
451
481
|
|
452
482
|
void HealthWatcher::Notify(grpc_connectivity_state state, absl::Status status) {
|
@@ -472,6 +502,11 @@ MakeHealthCheckWatcher(
|
|
472
502
|
health_check_service_name =
|
473
503
|
args.GetOwnedString(GRPC_ARG_HEALTH_CHECK_SERVICE_NAME);
|
474
504
|
}
|
505
|
+
if (GRPC_TRACE_FLAG_ENABLED(grpc_health_check_client_trace)) {
|
506
|
+
gpr_log(GPR_INFO,
|
507
|
+
"creating HealthWatcher -- health_check_service_name=\"%s\"",
|
508
|
+
health_check_service_name.value_or("N/A").c_str());
|
509
|
+
}
|
475
510
|
return std::make_unique<HealthWatcher>(std::move(work_serializer),
|
476
511
|
std::move(health_check_service_name),
|
477
512
|
std::move(watcher));
|
@@ -125,9 +125,11 @@ class HealthProducer : public Subchannel::DataProducerInterface {
|
|
125
125
|
WeakRefCountedPtr<HealthProducer> producer_;
|
126
126
|
absl::string_view health_check_service_name_;
|
127
127
|
std::shared_ptr<WorkSerializer> work_serializer_ =
|
128
|
-
std::make_shared<WorkSerializer>(
|
128
|
+
std::make_shared<WorkSerializer>(
|
129
|
+
producer_->subchannel_->event_engine());
|
129
130
|
|
130
|
-
grpc_connectivity_state state_
|
131
|
+
absl::optional<grpc_connectivity_state> state_
|
132
|
+
ABSL_GUARDED_BY(&HealthProducer::mu_);
|
131
133
|
absl::Status status_ ABSL_GUARDED_BY(&HealthProducer::mu_);
|
132
134
|
OrphanablePtr<SubchannelStreamClient> stream_client_
|
133
135
|
ABSL_GUARDED_BY(&HealthProducer::mu_);
|
@@ -143,7 +145,7 @@ class HealthProducer : public Subchannel::DataProducerInterface {
|
|
143
145
|
grpc_pollset_set* interested_parties_;
|
144
146
|
|
145
147
|
Mutex mu_;
|
146
|
-
grpc_connectivity_state state_ ABSL_GUARDED_BY(&mu_);
|
148
|
+
absl::optional<grpc_connectivity_state> state_ ABSL_GUARDED_BY(&mu_);
|
147
149
|
absl::Status status_ ABSL_GUARDED_BY(&mu_);
|
148
150
|
RefCountedPtr<ConnectedSubchannel> connected_subchannel_
|
149
151
|
ABSL_GUARDED_BY(&mu_);
|
@@ -49,8 +49,8 @@
|
|
49
49
|
#include "src/core/lib/channel/channel_args.h"
|
50
50
|
#include "src/core/lib/config/core_configuration.h"
|
51
51
|
#include "src/core/lib/debug/trace.h"
|
52
|
+
#include "src/core/lib/experiments/experiments.h"
|
52
53
|
#include "src/core/lib/gprpp/debug_location.h"
|
53
|
-
#include "src/core/lib/gprpp/match.h"
|
54
54
|
#include "src/core/lib/gprpp/orphanable.h"
|
55
55
|
#include "src/core/lib/gprpp/ref_counted.h"
|
56
56
|
#include "src/core/lib/gprpp/ref_counted_ptr.h"
|
@@ -124,13 +124,12 @@ class OutlierDetectionLb : public LoadBalancingPolicy {
|
|
124
124
|
class SubchannelState;
|
125
125
|
class SubchannelWrapper : public DelegatingSubchannel {
|
126
126
|
public:
|
127
|
-
SubchannelWrapper(
|
128
|
-
RefCountedPtr<
|
129
|
-
|
127
|
+
SubchannelWrapper(std::shared_ptr<WorkSerializer> work_serializer,
|
128
|
+
RefCountedPtr<SubchannelState> subchannel_state,
|
129
|
+
RefCountedPtr<SubchannelInterface> subchannel)
|
130
130
|
: DelegatingSubchannel(std::move(subchannel)),
|
131
|
-
|
132
|
-
|
133
|
-
disable_via_raw_connectivity_watch) {
|
131
|
+
work_serializer_(std::move(work_serializer)),
|
132
|
+
subchannel_state_(std::move(subchannel_state)) {
|
134
133
|
if (subchannel_state_ != nullptr) {
|
135
134
|
subchannel_state_->AddSubchannel(this);
|
136
135
|
if (subchannel_state_->ejection_time().has_value()) {
|
@@ -139,22 +138,27 @@ class OutlierDetectionLb : public LoadBalancingPolicy {
|
|
139
138
|
}
|
140
139
|
}
|
141
140
|
|
142
|
-
|
143
|
-
if (
|
144
|
-
subchannel_state_
|
141
|
+
void Orphan() override {
|
142
|
+
if (!IsWorkSerializerDispatchEnabled()) {
|
143
|
+
if (subchannel_state_ != nullptr) {
|
144
|
+
subchannel_state_->RemoveSubchannel(this);
|
145
|
+
}
|
146
|
+
return;
|
145
147
|
}
|
148
|
+
WeakRefCountedPtr<SubchannelWrapper> self = WeakRef();
|
149
|
+
work_serializer_->Run(
|
150
|
+
[self = std::move(self)]() {
|
151
|
+
if (self->subchannel_state_ != nullptr) {
|
152
|
+
self->subchannel_state_->RemoveSubchannel(self.get());
|
153
|
+
}
|
154
|
+
},
|
155
|
+
DEBUG_LOCATION);
|
146
156
|
}
|
147
157
|
|
148
158
|
void Eject();
|
149
159
|
|
150
160
|
void Uneject();
|
151
161
|
|
152
|
-
void WatchConnectivityState(
|
153
|
-
std::unique_ptr<ConnectivityStateWatcherInterface> watcher) override;
|
154
|
-
|
155
|
-
void CancelConnectivityStateWatch(
|
156
|
-
ConnectivityStateWatcherInterface* watcher) override;
|
157
|
-
|
158
162
|
void AddDataWatcher(std::unique_ptr<DataWatcherInterface> watcher) override;
|
159
163
|
|
160
164
|
RefCountedPtr<SubchannelState> subchannel_state() const {
|
@@ -162,11 +166,6 @@ class OutlierDetectionLb : public LoadBalancingPolicy {
|
|
162
166
|
}
|
163
167
|
|
164
168
|
private:
|
165
|
-
// TODO(roth): As a temporary hack, this needs to handle watchers
|
166
|
-
// stored as both unique_ptr<> and shared_ptr<>, since the former is
|
167
|
-
// used for raw connectivity state watches and the latter is used
|
168
|
-
// for health watches. This hack will go away as part of implementing
|
169
|
-
// dualstack backend support.
|
170
169
|
class WatcherWrapper
|
171
170
|
: public SubchannelInterface::ConnectivityStateWatcherInterface {
|
172
171
|
public:
|
@@ -176,16 +175,10 @@ class OutlierDetectionLb : public LoadBalancingPolicy {
|
|
176
175
|
bool ejected)
|
177
176
|
: watcher_(std::move(health_watcher)), ejected_(ejected) {}
|
178
177
|
|
179
|
-
WatcherWrapper(std::unique_ptr<
|
180
|
-
SubchannelInterface::ConnectivityStateWatcherInterface>
|
181
|
-
watcher,
|
182
|
-
bool ejected)
|
183
|
-
: watcher_(std::move(watcher)), ejected_(ejected) {}
|
184
|
-
|
185
178
|
void Eject() {
|
186
179
|
ejected_ = true;
|
187
180
|
if (last_seen_state_.has_value()) {
|
188
|
-
|
181
|
+
watcher_->OnConnectivityStateChange(
|
189
182
|
GRPC_CHANNEL_TRANSIENT_FAILURE,
|
190
183
|
absl::UnavailableError(
|
191
184
|
"subchannel ejected by outlier detection"));
|
@@ -195,8 +188,8 @@ class OutlierDetectionLb : public LoadBalancingPolicy {
|
|
195
188
|
void Uneject() {
|
196
189
|
ejected_ = false;
|
197
190
|
if (last_seen_state_.has_value()) {
|
198
|
-
|
199
|
-
|
191
|
+
watcher_->OnConnectivityStateChange(*last_seen_state_,
|
192
|
+
last_seen_status_);
|
200
193
|
}
|
201
194
|
}
|
202
195
|
|
@@ -211,43 +204,26 @@ class OutlierDetectionLb : public LoadBalancingPolicy {
|
|
211
204
|
status = absl::UnavailableError(
|
212
205
|
"subchannel ejected by outlier detection");
|
213
206
|
}
|
214
|
-
|
207
|
+
watcher_->OnConnectivityStateChange(new_state, status);
|
215
208
|
}
|
216
209
|
}
|
217
210
|
|
218
211
|
grpc_pollset_set* interested_parties() override {
|
219
|
-
return
|
212
|
+
return watcher_->interested_parties();
|
220
213
|
}
|
221
214
|
|
222
215
|
private:
|
223
|
-
SubchannelInterface::ConnectivityStateWatcherInterface
|
224
|
-
return Match(
|
225
|
-
watcher_,
|
226
|
-
[](const std::shared_ptr<
|
227
|
-
SubchannelInterface::ConnectivityStateWatcherInterface>&
|
228
|
-
watcher) { return watcher.get(); },
|
229
|
-
[](const std::unique_ptr<
|
230
|
-
SubchannelInterface::ConnectivityStateWatcherInterface>&
|
231
|
-
watcher) { return watcher.get(); });
|
232
|
-
}
|
233
|
-
|
234
|
-
absl::variant<std::shared_ptr<
|
235
|
-
SubchannelInterface::ConnectivityStateWatcherInterface>,
|
236
|
-
std::unique_ptr<
|
237
|
-
SubchannelInterface::ConnectivityStateWatcherInterface>>
|
216
|
+
std::shared_ptr<SubchannelInterface::ConnectivityStateWatcherInterface>
|
238
217
|
watcher_;
|
239
218
|
absl::optional<grpc_connectivity_state> last_seen_state_;
|
240
219
|
absl::Status last_seen_status_;
|
241
220
|
bool ejected_;
|
242
221
|
};
|
243
222
|
|
223
|
+
std::shared_ptr<WorkSerializer> work_serializer_;
|
244
224
|
RefCountedPtr<SubchannelState> subchannel_state_;
|
245
|
-
const bool disable_via_raw_connectivity_watch_;
|
246
225
|
bool ejected_ = false;
|
247
|
-
|
248
|
-
WatcherWrapper*>
|
249
|
-
watchers_;
|
250
|
-
WatcherWrapper* watcher_wrapper_ = nullptr; // For health watching.
|
226
|
+
WatcherWrapper* watcher_wrapper_ = nullptr;
|
251
227
|
};
|
252
228
|
|
253
229
|
class SubchannelState : public RefCounted<SubchannelState> {
|
@@ -428,50 +404,14 @@ class OutlierDetectionLb : public LoadBalancingPolicy {
|
|
428
404
|
|
429
405
|
void OutlierDetectionLb::SubchannelWrapper::Eject() {
|
430
406
|
ejected_ = true;
|
431
|
-
// Ejecting the subchannel may cause the child policy to cancel the watch,
|
432
|
-
// so we need to be prepared for the map to be modified while we are
|
433
|
-
// iterating.
|
434
|
-
for (auto it = watchers_.begin(); it != watchers_.end();) {
|
435
|
-
WatcherWrapper* watcher = it->second;
|
436
|
-
++it;
|
437
|
-
watcher->Eject();
|
438
|
-
}
|
439
407
|
if (watcher_wrapper_ != nullptr) watcher_wrapper_->Eject();
|
440
408
|
}
|
441
409
|
|
442
410
|
void OutlierDetectionLb::SubchannelWrapper::Uneject() {
|
443
411
|
ejected_ = false;
|
444
|
-
for (auto& watcher : watchers_) {
|
445
|
-
watcher.second->Uneject();
|
446
|
-
}
|
447
412
|
if (watcher_wrapper_ != nullptr) watcher_wrapper_->Uneject();
|
448
413
|
}
|
449
414
|
|
450
|
-
void OutlierDetectionLb::SubchannelWrapper::WatchConnectivityState(
|
451
|
-
std::unique_ptr<ConnectivityStateWatcherInterface> watcher) {
|
452
|
-
if (disable_via_raw_connectivity_watch_) {
|
453
|
-
wrapped_subchannel()->WatchConnectivityState(std::move(watcher));
|
454
|
-
return;
|
455
|
-
}
|
456
|
-
ConnectivityStateWatcherInterface* watcher_ptr = watcher.get();
|
457
|
-
auto watcher_wrapper =
|
458
|
-
std::make_unique<WatcherWrapper>(std::move(watcher), ejected_);
|
459
|
-
watchers_.emplace(watcher_ptr, watcher_wrapper.get());
|
460
|
-
wrapped_subchannel()->WatchConnectivityState(std::move(watcher_wrapper));
|
461
|
-
}
|
462
|
-
|
463
|
-
void OutlierDetectionLb::SubchannelWrapper::CancelConnectivityStateWatch(
|
464
|
-
ConnectivityStateWatcherInterface* watcher) {
|
465
|
-
if (disable_via_raw_connectivity_watch_) {
|
466
|
-
wrapped_subchannel()->CancelConnectivityStateWatch(watcher);
|
467
|
-
return;
|
468
|
-
}
|
469
|
-
auto it = watchers_.find(watcher);
|
470
|
-
if (it == watchers_.end()) return;
|
471
|
-
wrapped_subchannel()->CancelConnectivityStateWatch(it->second);
|
472
|
-
watchers_.erase(it);
|
473
|
-
}
|
474
|
-
|
475
415
|
void OutlierDetectionLb::SubchannelWrapper::AddDataWatcher(
|
476
416
|
std::unique_ptr<DataWatcherInterface> watcher) {
|
477
417
|
auto* w = static_cast<InternalSubchannelDataWatcherInterface*>(watcher.get());
|
@@ -777,22 +717,12 @@ OrphanablePtr<LoadBalancingPolicy> OutlierDetectionLb::CreateChildPolicyLocked(
|
|
777
717
|
RefCountedPtr<SubchannelInterface> OutlierDetectionLb::Helper::CreateSubchannel(
|
778
718
|
ServerAddress address, const ChannelArgs& args) {
|
779
719
|
if (parent()->shutting_down_) return nullptr;
|
780
|
-
// If the address has the DisableOutlierDetectionAttribute attribute,
|
781
|
-
// ignore it for raw connectivity state updates.
|
782
|
-
// TODO(roth): This is a hack to prevent outlier_detection from
|
783
|
-
// working with pick_first, as per discussion in
|
784
|
-
// https://github.com/grpc/grpc/issues/32967. Remove this as part of
|
785
|
-
// implementing dualstack backend support.
|
786
|
-
const bool disable_via_raw_connectivity_watch =
|
787
|
-
address.args().GetInt(GRPC_ARG_OUTLIER_DETECTION_DISABLE) == 1;
|
788
720
|
RefCountedPtr<SubchannelState> subchannel_state;
|
789
721
|
std::string key = MakeKeyForAddress(address);
|
790
722
|
if (GRPC_TRACE_FLAG_ENABLED(grpc_outlier_detection_lb_trace)) {
|
791
723
|
gpr_log(GPR_INFO,
|
792
|
-
"[outlier_detection_lb %p] using key %s for subchannel "
|
793
|
-
|
794
|
-
parent(), key.c_str(), address.ToString().c_str(),
|
795
|
-
disable_via_raw_connectivity_watch);
|
724
|
+
"[outlier_detection_lb %p] using key %s for subchannel address %s",
|
725
|
+
parent(), key.c_str(), address.ToString().c_str());
|
796
726
|
}
|
797
727
|
if (!key.empty()) {
|
798
728
|
auto it = parent()->subchannel_state_map_.find(key);
|
@@ -801,10 +731,9 @@ RefCountedPtr<SubchannelInterface> OutlierDetectionLb::Helper::CreateSubchannel(
|
|
801
731
|
}
|
802
732
|
}
|
803
733
|
auto subchannel = MakeRefCounted<SubchannelWrapper>(
|
804
|
-
subchannel_state,
|
734
|
+
parent()->work_serializer(), subchannel_state,
|
805
735
|
parent()->channel_control_helper()->CreateSubchannel(std::move(address),
|
806
|
-
args)
|
807
|
-
disable_via_raw_connectivity_watch);
|
736
|
+
args));
|
808
737
|
if (subchannel_state != nullptr) {
|
809
738
|
subchannel_state->AddSubchannel(subchannel.get());
|
810
739
|
}
|
@@ -28,7 +28,6 @@
|
|
28
28
|
#include "src/core/lib/json/json.h"
|
29
29
|
#include "src/core/lib/json/json_args.h"
|
30
30
|
#include "src/core/lib/json/json_object_loader.h"
|
31
|
-
#include "src/core/lib/resolver/server_address.h"
|
32
31
|
|
33
32
|
namespace grpc_core {
|
34
33
|
|
@@ -90,12 +89,6 @@ struct OutlierDetectionConfig {
|
|
90
89
|
ValidationErrors* errors);
|
91
90
|
};
|
92
91
|
|
93
|
-
// TODO(roth): This is a horrible hack used to disable outlier detection
|
94
|
-
// when used with the pick_first policy. Remove this as part of
|
95
|
-
// implementing the dualstack backend design.
|
96
|
-
#define GRPC_ARG_OUTLIER_DETECTION_DISABLE \
|
97
|
-
GRPC_ARG_NO_SUBCHANNEL_PREFIX "outlier_detection_disable"
|
98
|
-
|
99
92
|
} // namespace grpc_core
|
100
93
|
|
101
94
|
#endif // GRPC_SRC_CORE_EXT_FILTERS_CLIENT_CHANNEL_LB_POLICY_OUTLIER_DETECTION_OUTLIER_DETECTION_H
|