grpc 1.67.0 → 1.69.0.pre1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Makefile +58 -46
- data/include/grpc/compression.h +1 -2
- data/include/grpc/credentials.h +1 -2
- data/include/grpc/event_engine/endpoint_config.h +2 -2
- data/include/grpc/event_engine/event_engine.h +12 -9
- data/include/grpc/event_engine/extensible.h +2 -2
- data/include/grpc/event_engine/internal/memory_allocator_impl.h +4 -4
- data/include/grpc/event_engine/memory_allocator.h +3 -4
- data/include/grpc/event_engine/memory_request.h +1 -2
- data/include/grpc/event_engine/slice.h +3 -4
- data/include/grpc/event_engine/slice_buffer.h +6 -7
- data/include/grpc/grpc.h +1 -2
- data/include/grpc/grpc_audit_logging.h +3 -3
- data/include/grpc/grpc_crl_provider.h +4 -4
- data/include/grpc/grpc_posix.h +1 -2
- data/include/grpc/grpc_security.h +1 -2
- data/include/grpc/impl/call.h +2 -2
- data/include/grpc/impl/channel_arg_names.h +2 -0
- data/include/grpc/impl/grpc_types.h +1 -2
- data/include/grpc/impl/slice_type.h +1 -2
- data/include/grpc/passive_listener.h +2 -2
- data/include/grpc/support/alloc.h +1 -2
- data/include/grpc/support/json.h +1 -2
- data/include/grpc/support/log.h +1 -2
- data/include/grpc/support/metrics.h +7 -3
- data/include/grpc/support/port_platform.h +6 -1
- data/include/grpc/support/sync_posix.h +1 -2
- data/include/grpc/support/time.h +1 -2
- data/src/core/channelz/channel_trace.cc +5 -6
- data/src/core/channelz/channel_trace.h +5 -7
- data/src/core/channelz/channelz.cc +5 -6
- data/src/core/channelz/channelz.h +8 -10
- data/src/core/channelz/channelz_registry.cc +6 -7
- data/src/core/channelz/channelz_registry.h +4 -5
- data/src/core/client_channel/backup_poller.cc +21 -11
- data/src/core/client_channel/client_channel.cc +24 -20
- data/src/core/client_channel/client_channel.h +4 -2
- data/src/core/client_channel/client_channel_factory.cc +2 -2
- data/src/core/client_channel/client_channel_factory.h +1 -2
- data/src/core/client_channel/client_channel_filter.cc +27 -24
- data/src/core/client_channel/client_channel_filter.h +11 -11
- data/src/core/client_channel/client_channel_internal.h +2 -3
- data/src/core/client_channel/client_channel_plugin.cc +2 -4
- data/src/core/client_channel/client_channel_service_config.cc +2 -3
- data/src/core/client_channel/client_channel_service_config.h +4 -6
- data/src/core/client_channel/config_selector.h +4 -7
- data/src/core/client_channel/connector.h +3 -3
- data/src/core/client_channel/direct_channel.cc +3 -3
- data/src/core/client_channel/dynamic_filters.cc +10 -8
- data/src/core/client_channel/dynamic_filters.h +8 -7
- data/src/core/client_channel/global_subchannel_pool.cc +2 -2
- data/src/core/client_channel/global_subchannel_pool.h +2 -3
- data/src/core/client_channel/lb_metadata.h +2 -3
- data/src/core/client_channel/load_balanced_call_destination.cc +2 -3
- data/src/core/client_channel/load_balanced_call_destination.h +0 -1
- data/src/core/client_channel/local_subchannel_pool.cc +2 -3
- data/src/core/client_channel/local_subchannel_pool.h +1 -1
- data/src/core/client_channel/retry_filter.cc +5 -7
- data/src/core/client_channel/retry_filter.h +4 -7
- data/src/core/client_channel/retry_filter_legacy_call_data.cc +12 -12
- data/src/core/client_channel/retry_filter_legacy_call_data.h +11 -12
- data/src/core/client_channel/retry_service_config.cc +6 -8
- data/src/core/client_channel/retry_service_config.h +3 -5
- data/src/core/client_channel/retry_throttle.cc +3 -4
- data/src/core/client_channel/retry_throttle.h +4 -7
- data/src/core/client_channel/subchannel.cc +12 -15
- data/src/core/client_channel/subchannel.h +17 -16
- data/src/core/client_channel/subchannel_interface_internal.h +1 -1
- data/src/core/client_channel/subchannel_pool_interface.cc +1 -3
- data/src/core/client_channel/subchannel_pool_interface.h +2 -3
- data/src/core/client_channel/subchannel_stream_client.cc +6 -9
- data/src/core/client_channel/subchannel_stream_client.h +8 -10
- data/src/core/{lib/config → config}/config_vars.cc +4 -5
- data/src/core/{lib/config → config}/config_vars.h +4 -5
- data/src/core/{lib/config → config}/config_vars_non_generated.cc +3 -3
- data/src/core/{lib/config → config}/core_configuration.cc +4 -4
- data/src/core/{lib/config → config}/core_configuration.h +5 -6
- data/src/core/{lib/config → config}/load_config.cc +3 -5
- data/src/core/{lib/config → config}/load_config.h +4 -5
- data/src/core/ext/filters/backend_metrics/backend_metric_filter.cc +9 -9
- data/src/core/ext/filters/backend_metrics/backend_metric_filter.h +0 -1
- data/src/core/ext/filters/census/grpc_context.cc +1 -2
- data/src/core/ext/filters/channel_idle/idle_filter_state.cc +1 -2
- data/src/core/ext/filters/channel_idle/idle_filter_state.h +0 -1
- data/src/core/ext/filters/channel_idle/legacy_channel_idle_filter.cc +16 -18
- data/src/core/ext/filters/channel_idle/legacy_channel_idle_filter.h +6 -8
- data/src/core/ext/filters/fault_injection/fault_injection_filter.cc +10 -7
- data/src/core/ext/filters/fault_injection/fault_injection_filter.h +1 -3
- data/src/core/ext/filters/fault_injection/fault_injection_service_config_parser.cc +2 -3
- data/src/core/ext/filters/fault_injection/fault_injection_service_config_parser.h +4 -7
- data/src/core/ext/filters/gcp_authentication/gcp_authentication_filter.cc +55 -17
- data/src/core/ext/filters/gcp_authentication/gcp_authentication_filter.h +28 -13
- data/src/core/ext/filters/gcp_authentication/gcp_authentication_service_config_parser.cc +2 -3
- data/src/core/ext/filters/gcp_authentication/gcp_authentication_service_config_parser.h +2 -3
- data/src/core/ext/filters/http/client/http_client_filter.cc +12 -7
- data/src/core/ext/filters/http/client/http_client_filter.h +0 -1
- data/src/core/ext/filters/http/client_authority_filter.cc +7 -6
- data/src/core/ext/filters/http/client_authority_filter.h +0 -1
- data/src/core/ext/filters/http/http_filters_plugin.cc +1 -2
- data/src/core/ext/filters/http/message_compress/compression_filter.cc +24 -10
- data/src/core/ext/filters/http/message_compress/compression_filter.h +1 -4
- data/src/core/ext/filters/http/server/http_server_filter.cc +11 -6
- data/src/core/ext/filters/http/server/http_server_filter.h +0 -1
- data/src/core/ext/filters/message_size/message_size_filter.cc +13 -7
- data/src/core/ext/filters/message_size/message_size_filter.h +2 -4
- data/src/core/ext/filters/rbac/rbac_filter.cc +6 -6
- data/src/core/ext/filters/rbac/rbac_filter.h +0 -2
- data/src/core/ext/filters/rbac/rbac_service_config_parser.cc +14 -8
- data/src/core/ext/filters/rbac/rbac_service_config_parser.h +2 -4
- data/src/core/ext/filters/stateful_session/stateful_session_filter.cc +11 -6
- data/src/core/ext/filters/stateful_session/stateful_session_filter.h +2 -4
- data/src/core/ext/filters/stateful_session/stateful_session_service_config_parser.cc +2 -3
- data/src/core/ext/filters/stateful_session/stateful_session_service_config_parser.h +3 -5
- data/src/core/ext/transport/chttp2/alpn/alpn.cc +1 -2
- data/src/core/ext/transport/chttp2/alpn/alpn.h +1 -2
- data/src/core/ext/transport/chttp2/client/chttp2_connector.cc +20 -24
- data/src/core/ext/transport/chttp2/client/chttp2_connector.h +4 -5
- data/src/core/ext/transport/chttp2/server/chttp2_server.cc +151 -90
- data/src/core/ext/transport/chttp2/server/chttp2_server.h +2 -2
- data/src/core/ext/transport/chttp2/transport/bin_decoder.cc +6 -6
- data/src/core/ext/transport/chttp2/transport/bin_decoder.h +2 -3
- data/src/core/ext/transport/chttp2/transport/bin_encoder.cc +4 -6
- data/src/core/ext/transport/chttp2/transport/bin_encoder.h +1 -2
- data/src/core/ext/transport/chttp2/transport/call_tracer_wrapper.cc +53 -0
- data/src/core/ext/transport/chttp2/transport/call_tracer_wrapper.h +72 -0
- data/src/core/ext/transport/chttp2/transport/chttp2_transport.cc +152 -95
- data/src/core/ext/transport/chttp2/transport/chttp2_transport.h +5 -6
- data/src/core/ext/transport/chttp2/transport/context_list_entry.h +1 -2
- data/src/core/ext/transport/chttp2/transport/decode_huff.h +4 -4
- data/src/core/ext/transport/chttp2/transport/flow_control.cc +3 -5
- data/src/core/ext/transport/chttp2/transport/flow_control.h +2 -4
- data/src/core/ext/transport/chttp2/transport/frame.cc +22 -4
- data/src/core/ext/transport/chttp2/transport/frame.h +13 -4
- data/src/core/ext/transport/chttp2/transport/frame_data.cc +17 -13
- data/src/core/ext/transport/chttp2/transport/frame_data.h +2 -4
- data/src/core/ext/transport/chttp2/transport/frame_goaway.cc +3 -5
- data/src/core/ext/transport/chttp2/transport/frame_goaway.h +1 -2
- data/src/core/ext/transport/chttp2/transport/frame_ping.cc +2 -4
- data/src/core/ext/transport/chttp2/transport/frame_ping.h +1 -2
- data/src/core/ext/transport/chttp2/transport/frame_rst_stream.cc +4 -5
- data/src/core/ext/transport/chttp2/transport/frame_rst_stream.h +1 -2
- data/src/core/ext/transport/chttp2/transport/frame_security.cc +82 -0
- data/src/core/ext/transport/chttp2/transport/frame_security.h +44 -0
- data/src/core/ext/transport/chttp2/transport/frame_settings.cc +19 -5
- data/src/core/ext/transport/chttp2/transport/frame_settings.h +3 -4
- data/src/core/ext/transport/chttp2/transport/frame_window_update.cc +21 -3
- data/src/core/ext/transport/chttp2/transport/frame_window_update.h +1 -2
- data/src/core/ext/transport/chttp2/transport/hpack_constants.h +2 -2
- data/src/core/ext/transport/chttp2/transport/hpack_encoder.cc +10 -11
- data/src/core/ext/transport/chttp2/transport/hpack_encoder.h +6 -8
- data/src/core/ext/transport/chttp2/transport/hpack_encoder_table.cc +2 -2
- data/src/core/ext/transport/chttp2/transport/hpack_encoder_table.h +4 -5
- data/src/core/ext/transport/chttp2/transport/hpack_parse_result.cc +2 -4
- data/src/core/ext/transport/chttp2/transport/hpack_parse_result.h +4 -6
- data/src/core/ext/transport/chttp2/transport/hpack_parser.cc +4 -6
- data/src/core/ext/transport/chttp2/transport/hpack_parser.h +3 -5
- data/src/core/ext/transport/chttp2/transport/hpack_parser_table.cc +1 -3
- data/src/core/ext/transport/chttp2/transport/hpack_parser_table.h +2 -4
- data/src/core/ext/transport/chttp2/transport/http2_settings.cc +10 -2
- data/src/core/ext/transport/chttp2/transport/http2_settings.h +10 -4
- data/src/core/ext/transport/chttp2/transport/internal.h +37 -99
- data/src/core/ext/transport/chttp2/transport/legacy_frame.h +1 -0
- data/src/core/ext/transport/chttp2/transport/parsing.cc +44 -9
- data/src/core/ext/transport/chttp2/transport/ping_abuse_policy.cc +3 -3
- data/src/core/ext/transport/chttp2/transport/ping_abuse_policy.h +3 -3
- data/src/core/ext/transport/chttp2/transport/ping_callbacks.cc +2 -2
- data/src/core/ext/transport/chttp2/transport/ping_callbacks.h +3 -5
- data/src/core/ext/transport/chttp2/transport/ping_rate_policy.cc +4 -5
- data/src/core/ext/transport/chttp2/transport/ping_rate_policy.h +2 -4
- data/src/core/ext/transport/chttp2/transport/stream_lists.cc +4 -3
- data/src/core/ext/transport/chttp2/transport/stream_lists.h +65 -0
- data/src/core/ext/transport/chttp2/transport/varint.cc +2 -2
- data/src/core/ext/transport/chttp2/transport/varint.h +1 -2
- data/src/core/ext/transport/chttp2/transport/write_size_policy.cc +2 -2
- data/src/core/ext/transport/chttp2/transport/write_size_policy.h +3 -4
- data/src/core/ext/transport/chttp2/transport/writing.cc +11 -11
- data/src/core/ext/transport/inproc/inproc_transport.cc +6 -7
- data/src/core/ext/transport/inproc/legacy_inproc_transport.cc +12 -14
- data/src/core/ext/upb-gen/envoy/admin/v3/certs.upb.h +35 -4
- data/src/core/ext/upb-gen/envoy/admin/v3/certs.upb_minitable.c +25 -18
- data/src/core/ext/upb-gen/envoy/admin/v3/certs.upb_minitable.h +10 -4
- data/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb.h +36 -4
- data/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb_minitable.c +24 -18
- data/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb_minitable.h +9 -4
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb.h +39 -4
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb_minitable.c +29 -22
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb_minitable.h +10 -4
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb.h +137 -4
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb_minitable.c +105 -84
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb_minitable.h +24 -4
- data/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb.h +10 -4
- data/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb_minitable.c +8 -4
- data/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb_minitable.h +7 -4
- data/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb.h +17 -4
- data/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb_minitable.c +12 -8
- data/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb_minitable.h +7 -4
- data/src/core/ext/upb-gen/envoy/admin/v3/memory.upb.h +5 -4
- data/src/core/ext/upb-gen/envoy/admin/v3/memory.upb_minitable.c +4 -1
- data/src/core/ext/upb-gen/envoy/admin/v3/memory.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb.h +5 -4
- data/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb_minitable.c +4 -1
- data/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb.h +5 -4
- data/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb_minitable.c +4 -1
- data/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb.h +19 -4
- data/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb_minitable.c +16 -12
- data/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb_minitable.h +7 -4
- data/src/core/ext/upb-gen/envoy/admin/v3/tap.upb.h +7 -4
- data/src/core/ext/upb-gen/envoy/admin/v3/tap.upb_minitable.c +7 -4
- data/src/core/ext/upb-gen/envoy/admin/v3/tap.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/envoy/annotations/deprecation.upb.h +5 -4
- data/src/core/ext/upb-gen/envoy/annotations/deprecation.upb_minitable.c +7 -1
- data/src/core/ext/upb-gen/envoy/annotations/deprecation.upb_minitable.h +5 -4
- data/src/core/ext/upb-gen/envoy/annotations/resource.upb.h +7 -6
- data/src/core/ext/upb-gen/envoy/annotations/resource.upb_minitable.c +10 -6
- data/src/core/ext/upb-gen/envoy/annotations/resource.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb.h +61 -4
- data/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb_minitable.c +66 -48
- data/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb_minitable.h +21 -4
- data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb.h +183 -4
- data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb_minitable.c +131 -106
- data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb_minitable.h +28 -4
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb.h +31 -4
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb_minitable.c +22 -17
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb_minitable.h +8 -4
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb.h +185 -4
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb_minitable.c +149 -122
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb_minitable.h +30 -4
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb.h +9 -4
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb_minitable.c +8 -5
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb.h +56 -4
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb_minitable.c +30 -27
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb.h +96 -4
- data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb_minitable.c +80 -63
- data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb_minitable.h +20 -4
- data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb.h +44 -4
- data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb_minitable.c +36 -26
- data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb_minitable.h +13 -4
- data/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb.h +9 -4
- data/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb_minitable.c +8 -5
- data/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb.h +109 -4
- data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb_minitable.c +108 -77
- data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb_minitable.h +34 -4
- data/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb.h +46 -4
- data/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb_minitable.c +36 -27
- data/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb_minitable.h +12 -4
- data/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb.h +7 -4
- data/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb_minitable.c +7 -4
- data/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb.h +7 -4
- data/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb_minitable.c +7 -4
- data/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb.h +10 -4
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb_minitable.c +8 -4
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb_minitable.h +7 -4
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb.h +71 -4
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb_minitable.c +61 -45
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb_minitable.h +19 -4
- data/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb.h +92 -4
- data/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb_minitable.c +55 -44
- data/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb_minitable.h +14 -4
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb.h +12 -4
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb_minitable.c +8 -5
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb.h +7 -4
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb_minitable.c +7 -4
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb.h +99 -4
- data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb_minitable.c +85 -67
- data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb_minitable.h +21 -4
- data/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb.h +7 -4
- data/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb_minitable.c +8 -4
- data/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb_minitable.h +7 -4
- data/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb.h +12 -4
- data/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb_minitable.c +9 -5
- data/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb_minitable.h +7 -4
- data/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb.h +10 -4
- data/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb_minitable.c +8 -4
- data/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb_minitable.h +7 -4
- data/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb.h +16 -4
- data/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb_minitable.c +11 -7
- data/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb_minitable.h +7 -4
- data/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb.h +9 -4
- data/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb_minitable.c +8 -5
- data/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb.h +35 -4
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb_minitable.c +23 -17
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb_minitable.h +9 -4
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb.h +48 -4
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb_minitable.c +41 -32
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb_minitable.h +12 -4
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb.h +44 -4
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb_minitable.c +27 -19
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb_minitable.h +11 -4
- data/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb.h +7 -4
- data/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb_minitable.c +7 -4
- data/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb.h +83 -4
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb_minitable.c +53 -41
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb_minitable.h +15 -4
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb.h +66 -4
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb_minitable.c +47 -38
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb_minitable.h +12 -4
- data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb.h +27 -4
- data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb_minitable.c +17 -14
- data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb.h +11 -4
- data/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb_minitable.c +10 -6
- data/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb_minitable.h +7 -4
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb.h +9 -4
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb_minitable.c +8 -5
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb.h +33 -4
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb_minitable.c +34 -24
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb_minitable.h +13 -4
- data/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb.h +51 -4
- data/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb_minitable.c +41 -29
- data/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb_minitable.h +15 -4
- data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb.h +96 -4
- data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb_minitable.c +68 -55
- data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb_minitable.h +16 -4
- data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb.h +52 -4
- data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb_minitable.c +24 -19
- data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb_minitable.h +8 -4
- data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb.h +435 -4
- data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb_minitable.c +306 -246
- data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb_minitable.h +63 -4
- data/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb.h +14 -4
- data/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb_minitable.c +13 -8
- data/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb_minitable.h +8 -4
- data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb.h +69 -4
- data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb_minitable.c +59 -45
- data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb_minitable.h +17 -4
- data/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb.h +9 -4
- data/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb_minitable.c +11 -7
- data/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb_minitable.h +7 -4
- data/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb.h +7 -4
- data/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb_minitable.c +7 -4
- data/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb.h +9 -4
- data/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb_minitable.c +11 -7
- data/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb_minitable.h +7 -4
- data/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb.h +7 -4
- data/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb_minitable.c +7 -4
- data/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb.h +11 -4
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb_minitable.c +9 -6
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb.h +16 -4
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb_minitable.c +10 -7
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb.h +7 -4
- data/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb_minitable.c +7 -4
- data/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb.h +11 -4
- data/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb_minitable.c +12 -8
- data/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb_minitable.h +7 -4
- data/src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb.h +5 -4
- data/src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb_minitable.c +3 -1
- data/src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb_minitable.h +5 -4
- data/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb.h +13 -4
- data/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb_minitable.c +13 -9
- data/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb_minitable.h +7 -4
- data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb.h +7 -4
- data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb_minitable.c +7 -4
- data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb.h +102 -4
- data/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb_minitable.c +72 -54
- data/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb_minitable.h +21 -4
- data/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb.h +5 -4
- data/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb_minitable.c +4 -1
- data/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb.h +17 -4
- data/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb_minitable.c +18 -11
- data/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb_minitable.h +10 -4
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb.h +24 -4
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb_minitable.c +18 -13
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb_minitable.h +8 -4
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/gcp_authn/v3/gcp_authn.upb.h +17 -4
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/gcp_authn/v3/gcp_authn.upb_minitable.c +17 -11
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/gcp_authn/v3/gcp_authn.upb_minitable.h +9 -4
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb.h +15 -4
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb_minitable.c +14 -10
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb_minitable.h +7 -4
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb.h +21 -4
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb_minitable.c +14 -10
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb_minitable.h +7 -4
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.h +9 -4
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb_minitable.c +11 -7
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb_minitable.h +7 -4
- data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.h +181 -4
- data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.c +132 -109
- data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.h +26 -4
- data/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.h +7 -4
- data/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb_minitable.c +7 -4
- data/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.h +17 -4
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb_minitable.c +12 -9
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb.h +21 -4
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.c +24 -17
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.h +10 -4
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.h +5 -4
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb_minitable.c +4 -1
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.h +15 -4
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb_minitable.c +11 -8
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.h +7 -4
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb_minitable.c +7 -4
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/http_11_proxy/v3/upstream_http_11_connect.upb.h +106 -0
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/http_11_proxy/v3/upstream_http_11_connect.upb_minitable.c +52 -0
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/http_11_proxy/v3/upstream_http_11_connect.upb_minitable.h +32 -0
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb.h +5 -4
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb_minitable.c +3 -1
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb_minitable.h +5 -4
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb.h +59 -4
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.c +42 -32
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.h +13 -4
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb.h +17 -4
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.c +18 -13
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.h +8 -4
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb.h +77 -4
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb_minitable.c +52 -43
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb_minitable.h +12 -4
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.h +12 -4
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb_minitable.c +11 -7
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb_minitable.h +7 -4
- data/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb.h +42 -4
- data/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb_minitable.c +32 -26
- data/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb_minitable.h +9 -4
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb.h +5 -4
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb_minitable.c +4 -1
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb.h +86 -4
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb_minitable.c +63 -47
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb_minitable.h +19 -4
- data/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb.h +14 -4
- data/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb_minitable.c +12 -8
- data/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb_minitable.h +7 -4
- data/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb.h +45 -4
- data/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb_minitable.c +32 -25
- data/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb_minitable.h +10 -4
- data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb.h +7 -4
- data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb_minitable.c +7 -4
- data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb.h +14 -4
- data/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb_minitable.c +14 -8
- data/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb_minitable.h +9 -4
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb.h +7 -4
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb_minitable.c +7 -4
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb.h +5 -4
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb_minitable.c +8 -1
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb_minitable.h +10 -4
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb.h +12 -4
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb_minitable.c +9 -5
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb_minitable.h +7 -4
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb.h +12 -4
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb_minitable.c +8 -5
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb.h +7 -4
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb_minitable.c +7 -4
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb.h +7 -4
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb_minitable.c +7 -4
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb.h +11 -4
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb_minitable.c +15 -10
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb_minitable.h +8 -4
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb.h +5 -4
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb_minitable.c +5 -1
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb_minitable.h +7 -4
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb.h +14 -4
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb_minitable.c +12 -8
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb_minitable.h +7 -4
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb.h +12 -4
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb_minitable.c +9 -5
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb_minitable.h +7 -4
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb.h +22 -4
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb_minitable.c +20 -14
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb_minitable.h +9 -4
- data/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb.h +18 -4
- data/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb_minitable.c +19 -10
- data/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb_minitable.h +12 -4
- data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb.h +17 -4
- data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb_minitable.c +18 -11
- data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb_minitable.h +10 -4
- data/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb.h +9 -4
- data/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb_minitable.c +10 -5
- data/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb_minitable.h +8 -4
- data/src/core/ext/upb-gen/envoy/type/v3/http.upb.h +5 -4
- data/src/core/ext/upb-gen/envoy/type/v3/http.upb_minitable.c +3 -1
- data/src/core/ext/upb-gen/envoy/type/v3/http.upb_minitable.h +5 -4
- data/src/core/ext/upb-gen/envoy/type/v3/http_status.upb.h +5 -4
- data/src/core/ext/upb-gen/envoy/type/v3/http_status.upb_minitable.c +4 -1
- data/src/core/ext/upb-gen/envoy/type/v3/http_status.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/envoy/type/v3/percent.upb.h +5 -4
- data/src/core/ext/upb-gen/envoy/type/v3/percent.upb_minitable.c +5 -1
- data/src/core/ext/upb-gen/envoy/type/v3/percent.upb_minitable.h +7 -4
- data/src/core/ext/upb-gen/envoy/type/v3/range.upb.h +5 -4
- data/src/core/ext/upb-gen/envoy/type/v3/range.upb_minitable.c +6 -1
- data/src/core/ext/upb-gen/envoy/type/v3/range.upb_minitable.h +8 -4
- data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb.h +9 -4
- data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb_minitable.c +9 -5
- data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb_minitable.h +7 -4
- data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb.h +5 -4
- data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb_minitable.c +3 -1
- data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb_minitable.h +5 -4
- data/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb.h +5 -4
- data/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb_minitable.c +4 -1
- data/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb.h +9 -4
- data/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb_minitable.c +8 -5
- data/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/google/api/annotations.upb.h +7 -6
- data/src/core/ext/upb-gen/google/api/annotations.upb_minitable.c +5 -2
- data/src/core/ext/upb-gen/google/api/annotations.upb_minitable.h +5 -4
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb.h +87 -4
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb_minitable.c +69 -54
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb_minitable.h +18 -4
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb.h +85 -4
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb_minitable.c +71 -53
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb_minitable.h +21 -4
- data/src/core/ext/upb-gen/google/api/http.upb.h +18 -4
- data/src/core/ext/upb-gen/google/api/http.upb_minitable.c +13 -8
- data/src/core/ext/upb-gen/google/api/http.upb_minitable.h +8 -4
- data/src/core/ext/upb-gen/google/api/httpbody.upb.h +10 -4
- data/src/core/ext/upb-gen/google/api/httpbody.upb_minitable.c +7 -4
- data/src/core/ext/upb-gen/google/api/httpbody.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/google/protobuf/any.upb.h +6 -4
- data/src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c +4 -1
- data/src/core/ext/upb-gen/google/protobuf/any.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/google/protobuf/descriptor.upb.h +202 -4
- data/src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.c +241 -206
- data/src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.h +55 -21
- data/src/core/ext/upb-gen/google/protobuf/duration.upb.h +6 -4
- data/src/core/ext/upb-gen/google/protobuf/duration.upb_minitable.c +4 -1
- data/src/core/ext/upb-gen/google/protobuf/duration.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/google/protobuf/empty.upb.h +6 -4
- data/src/core/ext/upb-gen/google/protobuf/empty.upb_minitable.c +4 -1
- data/src/core/ext/upb-gen/google/protobuf/empty.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/google/protobuf/struct.upb.h +27 -4
- data/src/core/ext/upb-gen/google/protobuf/struct.upb_minitable.c +20 -14
- data/src/core/ext/upb-gen/google/protobuf/struct.upb_minitable.h +9 -4
- data/src/core/ext/upb-gen/google/protobuf/timestamp.upb.h +6 -4
- data/src/core/ext/upb-gen/google/protobuf/timestamp.upb_minitable.c +4 -1
- data/src/core/ext/upb-gen/google/protobuf/timestamp.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/google/protobuf/wrappers.upb.h +6 -4
- data/src/core/ext/upb-gen/google/protobuf/wrappers.upb_minitable.c +12 -1
- data/src/core/ext/upb-gen/google/protobuf/wrappers.upb_minitable.h +14 -4
- data/src/core/ext/upb-gen/google/rpc/status.upb.h +10 -4
- data/src/core/ext/upb-gen/google/rpc/status.upb_minitable.c +7 -4
- data/src/core/ext/upb-gen/google/rpc/status.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb.h +12 -4
- data/src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb_minitable.c +12 -6
- data/src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb_minitable.h +9 -4
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb.h +13 -4
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.c +9 -5
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.h +7 -4
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb.h +63 -4
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.c +51 -37
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.h +17 -4
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb.h +10 -4
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.c +9 -5
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.h +7 -4
- data/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb.h +6 -4
- data/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb_minitable.c +5 -1
- data/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb_minitable.h +7 -4
- data/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb.h +29 -4
- data/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb_minitable.c +31 -20
- data/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb_minitable.h +14 -4
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb.h +12 -4
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb_minitable.c +9 -4
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb_minitable.h +8 -4
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb.h +57 -4
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb_minitable.c +33 -22
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb_minitable.h +14 -4
- data/src/core/ext/upb-gen/udpa/annotations/migrate.upb.h +15 -14
- data/src/core/ext/upb-gen/udpa/annotations/migrate.upb_minitable.c +22 -12
- data/src/core/ext/upb-gen/udpa/annotations/migrate.upb_minitable.h +8 -4
- data/src/core/ext/upb-gen/udpa/annotations/security.upb.h +7 -6
- data/src/core/ext/upb-gen/udpa/annotations/security.upb_minitable.c +10 -6
- data/src/core/ext/upb-gen/udpa/annotations/security.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/udpa/annotations/sensitive.upb.h +5 -4
- data/src/core/ext/upb-gen/udpa/annotations/sensitive.upb_minitable.c +4 -1
- data/src/core/ext/upb-gen/udpa/annotations/sensitive.upb_minitable.h +5 -4
- data/src/core/ext/upb-gen/udpa/annotations/status.upb.h +7 -6
- data/src/core/ext/upb-gen/udpa/annotations/status.upb_minitable.c +10 -6
- data/src/core/ext/upb-gen/udpa/annotations/status.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/udpa/annotations/versioning.upb.h +7 -6
- data/src/core/ext/upb-gen/udpa/annotations/versioning.upb_minitable.c +10 -6
- data/src/core/ext/upb-gen/udpa/annotations/versioning.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/validate/validate.upb.h +89 -6
- data/src/core/ext/upb-gen/validate/validate.upb_minitable.c +116 -87
- data/src/core/ext/upb-gen/validate/validate.upb_minitable.h +29 -5
- data/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb.h +15 -14
- data/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb_minitable.c +22 -12
- data/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb_minitable.h +8 -4
- data/src/core/ext/upb-gen/xds/annotations/v3/security.upb.h +7 -6
- data/src/core/ext/upb-gen/xds/annotations/v3/security.upb_minitable.c +10 -6
- data/src/core/ext/upb-gen/xds/annotations/v3/security.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb.h +5 -4
- data/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb_minitable.c +4 -1
- data/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb_minitable.h +5 -4
- data/src/core/ext/upb-gen/xds/annotations/v3/status.upb.h +11 -10
- data/src/core/ext/upb-gen/xds/annotations/v3/status.upb_minitable.c +20 -11
- data/src/core/ext/upb-gen/xds/annotations/v3/status.upb_minitable.h +9 -4
- data/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb.h +7 -6
- data/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb_minitable.c +10 -6
- data/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/xds/core/v3/authority.upb.h +5 -4
- data/src/core/ext/upb-gen/xds/core/v3/authority.upb_minitable.c +4 -1
- data/src/core/ext/upb-gen/xds/core/v3/authority.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/xds/core/v3/cidr.upb.h +7 -4
- data/src/core/ext/upb-gen/xds/core/v3/cidr.upb_minitable.c +7 -4
- data/src/core/ext/upb-gen/xds/core/v3/cidr.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb.h +11 -4
- data/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb_minitable.c +12 -8
- data/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb_minitable.h +7 -4
- data/src/core/ext/upb-gen/xds/core/v3/context_params.upb.h +11 -4
- data/src/core/ext/upb-gen/xds/core/v3/context_params.upb_minitable.c +8 -4
- data/src/core/ext/upb-gen/xds/core/v3/context_params.upb_minitable.h +7 -4
- data/src/core/ext/upb-gen/xds/core/v3/extension.upb.h +7 -4
- data/src/core/ext/upb-gen/xds/core/v3/extension.upb_minitable.c +7 -4
- data/src/core/ext/upb-gen/xds/core/v3/extension.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/xds/core/v3/resource.upb.h +9 -4
- data/src/core/ext/upb-gen/xds/core/v3/resource.upb_minitable.c +8 -5
- data/src/core/ext/upb-gen/xds/core/v3/resource.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb.h +14 -4
- data/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb_minitable.c +12 -8
- data/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb_minitable.h +7 -4
- data/src/core/ext/upb-gen/xds/core/v3/resource_name.upb.h +7 -4
- data/src/core/ext/upb-gen/xds/core/v3/resource_name.upb_minitable.c +7 -4
- data/src/core/ext/upb-gen/xds/core/v3/resource_name.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb.h +23 -4
- data/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb_minitable.c +12 -6
- data/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb_minitable.h +9 -4
- data/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb.h +7 -4
- data/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb_minitable.c +7 -4
- data/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb.h +7 -4
- data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb_minitable.c +7 -4
- data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb.h +12 -4
- data/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb_minitable.c +11 -7
- data/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb_minitable.h +7 -4
- data/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb.h +5 -4
- data/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb_minitable.c +4 -1
- data/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb.h +17 -4
- data/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.c +12 -8
- data/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.h +7 -4
- data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb.h +63 -4
- data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.c +55 -43
- data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.h +15 -4
- data/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb.h +41 -4
- data/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb_minitable.c +30 -22
- data/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb_minitable.h +11 -4
- data/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb.h +7 -4
- data/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb_minitable.c +8 -4
- data/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb_minitable.h +7 -4
- data/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb.h +12 -4
- data/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb_minitable.c +11 -7
- data/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb_minitable.h +7 -4
- data/src/core/ext/upb-gen/xds/type/v3/cel.upb.h +13 -4
- data/src/core/ext/upb-gen/xds/type/v3/cel.upb_minitable.c +13 -9
- data/src/core/ext/upb-gen/xds/type/v3/cel.upb_minitable.h +7 -4
- data/src/core/ext/upb-gen/xds/type/v3/range.upb.h +6 -4
- data/src/core/ext/upb-gen/xds/type/v3/range.upb_minitable.c +6 -1
- data/src/core/ext/upb-gen/xds/type/v3/range.upb_minitable.h +8 -4
- data/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb.h +7 -4
- data/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb_minitable.c +7 -4
- data/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb_minitable.h +6 -4
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/certs.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/certs.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/clusters.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/clusters.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump_shared.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump_shared.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/init_dump.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/init_dump.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/listeners.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/listeners.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/memory.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/memory.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/metrics.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/metrics.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/mutex_stats.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/mutex_stats.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/server_info.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/server_info.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/tap.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/tap.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/annotations/deprecation.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/annotations/deprecation.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/annotations/resource.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/annotations/resource.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/accesslog/v3/accesslog.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/accesslog/v3/accesslog.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/bootstrap/v3/bootstrap.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/bootstrap/v3/bootstrap.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/circuit_breaker.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/circuit_breaker.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/cluster.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/cluster.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/filter.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/filter.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/outlier_detection.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/outlier_detection.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/common/matcher/v3/matcher.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/common/matcher/v3/matcher.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/address.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/address.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/backoff.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/backoff.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/base.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/base.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/config_source.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/config_source.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/event_service_config.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/event_service_config.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/extension.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/extension.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_method_list.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_method_list.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_service.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_service.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/health_check.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/health_check.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/http_service.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/http_service.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/http_uri.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/http_uri.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/protocol.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/protocol.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/proxy_protocol.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/proxy_protocol.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/resolver.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/resolver.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/socket_option.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/socket_option.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/substitution_format_string.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/substitution_format_string.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/udp_socket_config.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/udp_socket_config.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint_components.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint_components.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/load_report.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/load_report.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/api_listener.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/api_listener.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener_components.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener_components.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/quic_config.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/quic_config.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/udp_listener_config.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/udp_listener_config.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/metrics_service.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/metrics_service.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/stats.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/stats.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/overload/v3/overload.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/overload/v3/overload.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/rbac/v3/rbac.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/rbac/v3/rbac.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/route/v3/route.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/route/v3/route.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/route/v3/route_components.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/route/v3/route_components.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/route/v3/scoped_route.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/route/v3/scoped_route.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/tap/v3/common.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/tap/v3/common.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/datadog.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/datadog.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/dynamic_ot.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/dynamic_ot.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/http_tracer.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/http_tracer.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/lightstep.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/lightstep.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opencensus.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opencensus.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opentelemetry.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opentelemetry.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/service.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/service.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/skywalking.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/skywalking.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/trace.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/trace.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/xray.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/xray.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/zipkin.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/zipkin.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/data/accesslog/v3/accesslog.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/data/accesslog/v3/accesslog.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/common/fault/v3/fault.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/common/fault/v3/fault.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/fault/v3/fault.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/fault/v3/fault.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/gcp_authn/v3/gcp_authn.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/gcp_authn/v3/gcp_authn.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/router/v3/router.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/router/v3/router.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/http_11_proxy/v3/upstream_http_11_connect.upbdefs.c +53 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/http_11_proxy/v3/upstream_http_11_connect.upbdefs.h +33 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/ads.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/ads.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/discovery.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/discovery.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/service/load_stats/v3/lrs.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/service/load_stats/v3/lrs.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/service/status/v3/csds.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/service/status/v3/csds.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/type/http/v3/cookie.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/http/v3/cookie.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/type/http/v3/path_transformation.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/http/v3/path_transformation.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/filter_state.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/filter_state.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/http_inputs.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/http_inputs.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/metadata.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/metadata.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/node.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/node.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/number.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/number.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/path.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/path.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/regex.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/regex.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/status_code_input.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/status_code_input.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/string.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/string.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/struct.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/struct.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/value.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/value.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/type/metadata/v3/metadata.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/metadata/v3/metadata.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/type/tracing/v3/custom_tag.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/tracing/v3/custom_tag.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/type/v3/hash_policy.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/v3/hash_policy.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/type/v3/http.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/v3/http.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/type/v3/http_status.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/v3/http_status.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/type/v3/percent.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/v3/percent.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/type/v3/range.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/v3/range.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_strategy.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_strategy.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_unit.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_unit.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/type/v3/semantic_version.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/v3/semantic_version.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/type/v3/token_bucket.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/v3/token_bucket.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/google/api/annotations.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/google/api/annotations.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/checked.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/checked.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/syntax.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/syntax.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/google/api/http.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/google/api/http.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/google/api/httpbody.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/google/api/httpbody.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/google/protobuf/any.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/google/protobuf/any.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/google/protobuf/descriptor.upbdefs.c +486 -484
- data/src/core/ext/upbdefs-gen/google/protobuf/descriptor.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/google/protobuf/duration.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/google/protobuf/duration.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/google/protobuf/empty.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/google/protobuf/empty.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/google/protobuf/struct.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/google/protobuf/struct.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/google/protobuf/timestamp.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/google/protobuf/timestamp.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/google/protobuf/wrappers.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/google/protobuf/wrappers.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/google/rpc/status.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/google/rpc/status.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/opencensus/proto/trace/v1/trace_config.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/opencensus/proto/trace/v1/trace_config.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/src/proto/grpc/lookup/v1/rls_config.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/src/proto/grpc/lookup/v1/rls_config.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/udpa/annotations/migrate.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/udpa/annotations/migrate.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/udpa/annotations/security.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/udpa/annotations/security.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/udpa/annotations/sensitive.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/udpa/annotations/sensitive.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/udpa/annotations/status.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/udpa/annotations/status.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/udpa/annotations/versioning.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/udpa/annotations/versioning.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/validate/validate.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/validate/validate.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/migrate.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/migrate.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/security.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/security.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/sensitive.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/sensitive.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/status.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/status.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/versioning.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/versioning.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/xds/core/v3/authority.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/xds/core/v3/authority.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/xds/core/v3/cidr.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/xds/core/v3/cidr.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/xds/core/v3/collection_entry.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/xds/core/v3/collection_entry.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/xds/core/v3/context_params.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/xds/core/v3/context_params.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/xds/core/v3/extension.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/xds/core/v3/extension.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/xds/core/v3/resource.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/xds/core/v3/resource.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/xds/core/v3/resource_locator.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/xds/core/v3/resource_locator.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/xds/core/v3/resource_name.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/xds/core/v3/resource_name.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/cel.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/cel.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/domain.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/domain.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/http_inputs.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/http_inputs.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/ip.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/ip.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/matcher.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/matcher.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/range.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/range.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/regex.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/regex.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/string.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/string.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/xds/type/v3/cel.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/xds/type/v3/cel.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/xds/type/v3/range.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/xds/type/v3/range.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/xds/type/v3/typed_struct.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/xds/type/v3/typed_struct.upbdefs.h +5 -4
- data/src/core/filter/blackboard.cc +33 -0
- data/src/core/filter/blackboard.h +70 -0
- data/src/core/handshaker/endpoint_info/endpoint_info_handshaker.cc +4 -5
- data/src/core/handshaker/endpoint_info/endpoint_info_handshaker.h +1 -1
- data/src/core/handshaker/handshaker.cc +8 -11
- data/src/core/handshaker/handshaker.h +8 -10
- data/src/core/handshaker/handshaker_registry.cc +1 -2
- data/src/core/handshaker/handshaker_registry.h +2 -2
- data/src/core/handshaker/http_connect/http_connect_handshaker.cc +14 -11
- data/src/core/handshaker/http_connect/http_connect_handshaker.h +1 -1
- data/src/core/handshaker/http_connect/http_proxy_mapper.cc +7 -9
- data/src/core/handshaker/http_connect/http_proxy_mapper.h +3 -4
- data/src/core/handshaker/http_connect/xds_http_proxy_mapper.cc +57 -0
- data/src/core/handshaker/http_connect/xds_http_proxy_mapper.h +46 -0
- data/src/core/handshaker/proxy_mapper.h +2 -3
- data/src/core/handshaker/proxy_mapper_registry.cc +2 -2
- data/src/core/handshaker/proxy_mapper_registry.h +2 -3
- data/src/core/handshaker/security/secure_endpoint.cc +12 -14
- data/src/core/handshaker/security/secure_endpoint.h +2 -3
- data/src/core/handshaker/security/security_handshaker.cc +15 -21
- data/src/core/handshaker/security/security_handshaker.h +3 -4
- data/src/core/handshaker/tcp_connect/tcp_connect_handshaker.cc +10 -11
- data/src/core/handshaker/tcp_connect/tcp_connect_handshaker.h +1 -1
- data/src/core/lib/address_utils/parse_address.cc +3 -4
- data/src/core/lib/address_utils/parse_address.h +2 -4
- data/src/core/lib/address_utils/sockaddr_utils.cc +4 -6
- data/src/core/lib/address_utils/sockaddr_utils.h +1 -3
- data/src/core/lib/channel/call_finalization.h +2 -2
- data/src/core/lib/channel/channel_args.cc +4 -6
- data/src/core/lib/channel/channel_args.h +11 -13
- data/src/core/lib/channel/channel_args_preconditioning.cc +2 -2
- data/src/core/lib/channel/channel_args_preconditioning.h +4 -4
- data/src/core/lib/channel/channel_stack.cc +5 -4
- data/src/core/lib/channel/channel_stack.h +17 -17
- data/src/core/lib/channel/channel_stack_builder.cc +2 -2
- data/src/core/lib/channel/channel_stack_builder.h +3 -4
- data/src/core/lib/channel/channel_stack_builder_impl.cc +5 -7
- data/src/core/lib/channel/channel_stack_builder_impl.h +15 -3
- data/src/core/lib/channel/connected_channel.cc +9 -11
- data/src/core/lib/channel/promise_based_filter.cc +33 -24
- data/src/core/lib/channel/promise_based_filter.h +45 -16
- data/src/core/lib/channel/status_util.cc +1 -3
- data/src/core/lib/channel/status_util.h +3 -3
- data/src/core/lib/compression/compression.cc +3 -5
- data/src/core/lib/compression/compression_internal.cc +5 -7
- data/src/core/lib/compression/compression_internal.h +3 -5
- data/src/core/lib/compression/message_compress.cc +3 -6
- data/src/core/lib/debug/trace.cc +5 -6
- data/src/core/lib/debug/trace_flags.cc +1 -2
- data/src/core/lib/debug/trace_impl.h +2 -2
- data/src/core/lib/event_engine/ares_resolver.cc +11 -15
- data/src/core/lib/event_engine/ares_resolver.h +7 -10
- data/src/core/lib/event_engine/cf_engine/cf_engine.cc +2 -4
- data/src/core/lib/event_engine/cf_engine/cf_engine.h +1 -1
- data/src/core/lib/event_engine/cf_engine/cfstream_endpoint.cc +1 -2
- data/src/core/lib/event_engine/cf_engine/cfstream_endpoint.h +4 -6
- data/src/core/lib/event_engine/cf_engine/dns_service_resolver.cc +9 -7
- data/src/core/lib/event_engine/cf_engine/dns_service_resolver.h +3 -5
- data/src/core/lib/event_engine/channel_args_endpoint_config.cc +3 -4
- data/src/core/lib/event_engine/channel_args_endpoint_config.h +2 -3
- data/src/core/lib/event_engine/common_closures.h +3 -3
- data/src/core/lib/event_engine/default_event_engine.cc +7 -8
- data/src/core/lib/event_engine/default_event_engine.h +4 -4
- data/src/core/lib/event_engine/default_event_engine_factory.cc +2 -2
- data/src/core/lib/event_engine/default_event_engine_factory.h +2 -2
- data/src/core/lib/event_engine/event_engine.cc +2 -2
- data/src/core/lib/event_engine/extensions/can_track_errors.h +2 -2
- data/src/core/lib/event_engine/extensions/chaotic_good_extension.h +1 -2
- data/src/core/lib/event_engine/extensions/supports_fd.h +20 -3
- data/src/core/lib/event_engine/extensions/tcp_trace.h +0 -1
- data/src/core/lib/event_engine/forkable.cc +3 -3
- data/src/core/lib/event_engine/forkable.h +2 -2
- data/src/core/lib/event_engine/grpc_polled_fd.h +3 -4
- data/src/core/lib/event_engine/handle_containers.h +2 -3
- data/src/core/lib/event_engine/memory_allocator_factory.h +3 -4
- data/src/core/lib/event_engine/nameser.h +1 -1
- data/src/core/lib/event_engine/poller.h +2 -2
- data/src/core/lib/event_engine/posix_engine/ev_epoll1_linux.cc +10 -12
- data/src/core/lib/event_engine/posix_engine/ev_epoll1_linux.h +4 -5
- data/src/core/lib/event_engine/posix_engine/ev_poll_posix.cc +17 -20
- data/src/core/lib/event_engine/posix_engine/ev_poll_posix.h +4 -5
- data/src/core/lib/event_engine/posix_engine/event_poller.h +3 -4
- data/src/core/lib/event_engine/posix_engine/event_poller_posix_default.cc +4 -5
- data/src/core/lib/event_engine/posix_engine/event_poller_posix_default.h +2 -2
- data/src/core/lib/event_engine/posix_engine/grpc_polled_fd_posix.h +4 -6
- data/src/core/lib/event_engine/posix_engine/internal_errqueue.cc +2 -3
- data/src/core/lib/event_engine/posix_engine/internal_errqueue.h +1 -2
- data/src/core/lib/event_engine/posix_engine/lockfree_event.cc +5 -6
- data/src/core/lib/event_engine/posix_engine/lockfree_event.h +2 -3
- data/src/core/lib/event_engine/posix_engine/native_posix_dns_resolver.cc +2 -3
- data/src/core/lib/event_engine/posix_engine/native_posix_dns_resolver.h +2 -3
- data/src/core/lib/event_engine/posix_engine/posix_endpoint.cc +15 -17
- data/src/core/lib/event_engine/posix_engine/posix_endpoint.h +8 -9
- data/src/core/lib/event_engine/posix_engine/posix_engine.cc +44 -28
- data/src/core/lib/event_engine/posix_engine/posix_engine.h +16 -14
- data/src/core/lib/event_engine/posix_engine/posix_engine_closure.h +3 -3
- data/src/core/lib/event_engine/posix_engine/posix_engine_listener.cc +7 -9
- data/src/core/lib/event_engine/posix_engine/posix_engine_listener.h +12 -11
- data/src/core/lib/event_engine/posix_engine/posix_engine_listener_utils.cc +4 -6
- data/src/core/lib/event_engine/posix_engine/posix_engine_listener_utils.h +1 -2
- data/src/core/lib/event_engine/posix_engine/tcp_socket_utils.cc +8 -11
- data/src/core/lib/event_engine/posix_engine/tcp_socket_utils.h +7 -8
- data/src/core/lib/event_engine/posix_engine/timer.cc +4 -4
- data/src/core/lib/event_engine/posix_engine/timer.h +5 -7
- data/src/core/lib/event_engine/posix_engine/timer_heap.cc +2 -3
- data/src/core/lib/event_engine/posix_engine/timer_heap.h +2 -2
- data/src/core/lib/event_engine/posix_engine/timer_manager.cc +3 -4
- data/src/core/lib/event_engine/posix_engine/timer_manager.h +5 -7
- data/src/core/lib/event_engine/posix_engine/traced_buffer_list.cc +5 -7
- data/src/core/lib/event_engine/posix_engine/traced_buffer_list.h +3 -5
- data/src/core/lib/event_engine/posix_engine/wakeup_fd_eventfd.cc +5 -6
- data/src/core/lib/event_engine/posix_engine/wakeup_fd_eventfd.h +2 -3
- data/src/core/lib/event_engine/posix_engine/wakeup_fd_pipe.cc +4 -5
- data/src/core/lib/event_engine/posix_engine/wakeup_fd_pipe.h +2 -3
- data/src/core/lib/event_engine/posix_engine/wakeup_fd_posix.h +2 -2
- data/src/core/lib/event_engine/posix_engine/wakeup_fd_posix_default.cc +2 -3
- data/src/core/lib/event_engine/posix_engine/wakeup_fd_posix_default.h +2 -2
- data/src/core/lib/event_engine/query_extensions.h +2 -2
- data/src/core/lib/event_engine/ref_counted_dns_resolver_interface.h +3 -5
- data/src/core/lib/event_engine/resolved_address.cc +5 -4
- data/src/core/lib/event_engine/slice.cc +3 -5
- data/src/core/lib/event_engine/slice_buffer.cc +1 -2
- data/src/core/lib/event_engine/tcp_socket_utils.cc +3 -10
- data/src/core/lib/event_engine/tcp_socket_utils.h +3 -3
- data/src/core/lib/event_engine/thread_pool/thread_count.cc +2 -4
- data/src/core/lib/event_engine/thread_pool/thread_count.h +5 -6
- data/src/core/lib/event_engine/thread_pool/thread_pool.h +2 -4
- data/src/core/lib/event_engine/thread_pool/thread_pool_factory.cc +2 -3
- data/src/core/lib/event_engine/thread_pool/work_stealing_thread_pool.cc +9 -11
- data/src/core/lib/event_engine/thread_pool/work_stealing_thread_pool.h +7 -9
- data/src/core/lib/event_engine/thready_event_engine/thready_event_engine.cc +5 -5
- data/src/core/lib/event_engine/thready_event_engine/thready_event_engine.h +5 -5
- data/src/core/lib/event_engine/time_util.cc +2 -2
- data/src/core/lib/event_engine/time_util.h +1 -2
- data/src/core/lib/event_engine/utils.cc +19 -5
- data/src/core/lib/event_engine/utils.h +10 -4
- data/src/core/lib/event_engine/windows/grpc_polled_fd_windows.cc +5 -8
- data/src/core/lib/event_engine/windows/grpc_polled_fd_windows.h +4 -6
- data/src/core/lib/event_engine/windows/iocp.cc +4 -5
- data/src/core/lib/event_engine/windows/iocp.h +1 -2
- data/src/core/lib/event_engine/windows/native_windows_dns_resolver.cc +4 -6
- data/src/core/lib/event_engine/windows/win_socket.cc +4 -5
- data/src/core/lib/event_engine/windows/win_socket.h +4 -5
- data/src/core/lib/event_engine/windows/windows_endpoint.cc +28 -15
- data/src/core/lib/event_engine/windows/windows_engine.cc +10 -11
- data/src/core/lib/event_engine/windows/windows_engine.h +8 -9
- data/src/core/lib/event_engine/windows/windows_listener.cc +2 -3
- data/src/core/lib/event_engine/windows/windows_listener.h +4 -5
- data/src/core/lib/event_engine/work_queue/basic_work_queue.cc +3 -3
- data/src/core/lib/event_engine/work_queue/basic_work_queue.h +3 -5
- data/src/core/lib/event_engine/work_queue/work_queue.h +2 -3
- data/src/core/lib/experiments/config.cc +9 -12
- data/src/core/lib/experiments/config.h +1 -2
- data/src/core/lib/experiments/experiments.cc +203 -28
- data/src/core/lib/experiments/experiments.h +76 -15
- data/src/core/lib/iomgr/buffer_list.cc +4 -5
- data/src/core/lib/iomgr/buffer_list.h +2 -3
- data/src/core/lib/iomgr/call_combiner.cc +2 -4
- data/src/core/lib/iomgr/call_combiner.h +6 -8
- data/src/core/lib/iomgr/cfstream_handle.cc +2 -4
- data/src/core/lib/iomgr/cfstream_handle.h +1 -1
- data/src/core/lib/iomgr/closure.cc +2 -2
- data/src/core/lib/iomgr/closure.h +9 -9
- data/src/core/lib/iomgr/combiner.cc +4 -6
- data/src/core/lib/iomgr/combiner.h +2 -3
- data/src/core/lib/iomgr/endpoint.h +1 -2
- data/src/core/lib/iomgr/endpoint_cfstream.cc +2 -4
- data/src/core/lib/iomgr/endpoint_pair_posix.cc +2 -4
- data/src/core/lib/iomgr/endpoint_pair_windows.cc +1 -2
- data/src/core/lib/iomgr/error.cc +6 -8
- data/src/core/lib/iomgr/error.h +6 -8
- data/src/core/lib/iomgr/error_cfstream.cc +1 -3
- data/src/core/lib/iomgr/ev_apple.cc +3 -4
- data/src/core/lib/iomgr/ev_epoll1_linux.cc +7 -9
- data/src/core/lib/iomgr/ev_poll_posix.cc +3 -5
- data/src/core/lib/iomgr/ev_posix.cc +4 -6
- data/src/core/lib/iomgr/ev_posix.h +1 -2
- data/src/core/lib/iomgr/event_engine_shims/closure.cc +3 -4
- data/src/core/lib/iomgr/event_engine_shims/closure.h +1 -2
- data/src/core/lib/iomgr/event_engine_shims/endpoint.cc +10 -11
- data/src/core/lib/iomgr/event_engine_shims/endpoint.h +2 -2
- data/src/core/lib/iomgr/event_engine_shims/tcp_client.cc +2 -3
- data/src/core/lib/iomgr/exec_ctx.cc +4 -5
- data/src/core/lib/iomgr/exec_ctx.h +6 -8
- data/src/core/lib/iomgr/executor.cc +6 -8
- data/src/core/lib/iomgr/executor.h +1 -1
- data/src/core/lib/iomgr/fork_posix.cc +5 -7
- data/src/core/lib/iomgr/fork_windows.cc +2 -2
- data/src/core/lib/iomgr/internal_errqueue.cc +2 -3
- data/src/core/lib/iomgr/iocp_windows.cc +4 -6
- data/src/core/lib/iomgr/iomgr.cc +7 -9
- data/src/core/lib/iomgr/iomgr.h +1 -2
- data/src/core/lib/iomgr/iomgr_internal.cc +1 -2
- data/src/core/lib/iomgr/iomgr_internal.h +1 -2
- data/src/core/lib/iomgr/iomgr_posix.cc +2 -1
- data/src/core/lib/iomgr/iomgr_windows.cc +4 -3
- data/src/core/lib/iomgr/lockfree_event.cc +3 -4
- data/src/core/lib/iomgr/nameser.h +1 -1
- data/src/core/lib/iomgr/polling_entity.cc +3 -4
- data/src/core/lib/iomgr/pollset_set_windows.cc +1 -2
- data/src/core/lib/iomgr/pollset_windows.cc +2 -2
- data/src/core/lib/iomgr/port.h +2 -2
- data/src/core/lib/iomgr/resolve_address.cc +3 -4
- data/src/core/lib/iomgr/resolve_address.h +4 -6
- data/src/core/lib/iomgr/resolve_address_impl.h +1 -2
- data/src/core/lib/iomgr/resolve_address_posix.cc +6 -7
- data/src/core/lib/iomgr/resolve_address_posix.h +2 -2
- data/src/core/lib/iomgr/resolve_address_windows.cc +8 -10
- data/src/core/lib/iomgr/resolve_address_windows.h +2 -2
- data/src/core/lib/iomgr/resolved_address.h +1 -2
- data/src/core/lib/iomgr/sockaddr_utils_posix.cc +3 -5
- data/src/core/lib/iomgr/socket_mutator.cc +1 -1
- data/src/core/lib/iomgr/socket_mutator.h +1 -2
- data/src/core/lib/iomgr/socket_utils.h +1 -2
- data/src/core/lib/iomgr/socket_utils_common_posix.cc +5 -7
- data/src/core/lib/iomgr/socket_utils_linux.cc +1 -1
- data/src/core/lib/iomgr/socket_utils_posix.cc +4 -6
- data/src/core/lib/iomgr/socket_utils_windows.cc +1 -1
- data/src/core/lib/iomgr/socket_windows.cc +3 -5
- data/src/core/lib/iomgr/socket_windows.h +1 -2
- data/src/core/lib/iomgr/tcp_client_cfstream.cc +5 -7
- data/src/core/lib/iomgr/tcp_client_posix.cc +5 -7
- data/src/core/lib/iomgr/tcp_client_windows.cc +6 -8
- data/src/core/lib/iomgr/tcp_posix.cc +14 -17
- data/src/core/lib/iomgr/tcp_posix.h +1 -1
- data/src/core/lib/iomgr/tcp_server.h +2 -2
- data/src/core/lib/iomgr/tcp_server_posix.cc +9 -11
- data/src/core/lib/iomgr/tcp_server_utils_posix.h +2 -3
- data/src/core/lib/iomgr/tcp_server_utils_posix_common.cc +3 -5
- data/src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc +4 -6
- data/src/core/lib/iomgr/tcp_server_windows.cc +11 -13
- data/src/core/lib/iomgr/tcp_windows.cc +4 -6
- data/src/core/lib/iomgr/timer.h +2 -2
- data/src/core/lib/iomgr/timer_generic.cc +9 -11
- data/src/core/lib/iomgr/timer_heap.cc +2 -3
- data/src/core/lib/iomgr/timer_manager.cc +4 -6
- data/src/core/lib/iomgr/timer_manager.h +1 -2
- data/src/core/lib/iomgr/unix_sockets_posix.cc +3 -4
- data/src/core/lib/iomgr/unix_sockets_posix.h +3 -4
- data/src/core/lib/iomgr/unix_sockets_posix_noop.cc +0 -2
- data/src/core/lib/iomgr/vsock.cc +2 -4
- data/src/core/lib/iomgr/vsock.h +3 -4
- data/src/core/lib/iomgr/wakeup_fd_eventfd.cc +2 -2
- data/src/core/lib/iomgr/wakeup_fd_pipe.cc +3 -4
- data/src/core/lib/promise/activity.cc +2 -4
- data/src/core/lib/promise/activity.h +10 -12
- data/src/core/lib/promise/all_ok.h +40 -4
- data/src/core/lib/promise/arena_promise.h +2 -4
- data/src/core/lib/promise/cancel_callback.h +4 -4
- data/src/core/lib/promise/context.h +7 -8
- data/src/core/lib/promise/detail/basic_seq.h +33 -19
- data/src/core/lib/promise/detail/join_state.h +4 -5
- data/src/core/lib/promise/detail/promise_factory.h +7 -8
- data/src/core/lib/promise/detail/promise_like.h +26 -4
- data/src/core/lib/promise/detail/seq_state.h +183 -185
- data/src/core/lib/promise/detail/status.h +5 -5
- data/src/core/lib/promise/exec_ctx_wakeup_scheduler.h +2 -3
- data/src/core/lib/promise/for_each.h +9 -10
- data/src/core/lib/promise/if.h +9 -9
- data/src/core/lib/promise/interceptor_list.h +3 -5
- data/src/core/lib/promise/latch.h +1 -3
- data/src/core/lib/promise/loop.h +13 -5
- data/src/core/lib/promise/map.h +57 -7
- data/src/core/lib/promise/observable.h +3 -4
- data/src/core/lib/promise/party.cc +42 -76
- data/src/core/lib/promise/party.h +60 -40
- data/src/core/lib/promise/pipe.h +3 -5
- data/src/core/lib/promise/poll.h +19 -7
- data/src/core/lib/promise/prioritized_race.h +2 -2
- data/src/core/lib/promise/promise.h +5 -6
- data/src/core/lib/promise/race.h +4 -4
- data/src/core/lib/promise/seq.h +17 -39
- data/src/core/lib/promise/sleep.cc +3 -3
- data/src/core/lib/promise/sleep.h +4 -5
- data/src/core/lib/promise/status_flag.h +9 -3
- data/src/core/lib/promise/try_join.h +5 -5
- data/src/core/lib/promise/try_seq.h +45 -47
- data/src/core/lib/resource_quota/api.cc +4 -6
- data/src/core/lib/resource_quota/api.h +2 -3
- data/src/core/lib/resource_quota/arena.cc +3 -4
- data/src/core/lib/resource_quota/arena.h +4 -5
- data/src/core/lib/resource_quota/connection_quota.cc +2 -2
- data/src/core/lib/resource_quota/connection_quota.h +5 -6
- data/src/core/lib/resource_quota/memory_quota.cc +20 -11
- data/src/core/lib/resource_quota/memory_quota.h +21 -13
- data/src/core/lib/resource_quota/periodic_update.cc +4 -4
- data/src/core/lib/resource_quota/periodic_update.h +2 -4
- data/src/core/lib/resource_quota/resource_quota.h +7 -8
- data/src/core/lib/resource_quota/thread_quota.cc +2 -2
- data/src/core/lib/resource_quota/thread_quota.h +5 -6
- data/src/core/lib/security/authorization/audit_logging.cc +5 -6
- data/src/core/lib/security/authorization/audit_logging.h +5 -6
- data/src/core/lib/security/authorization/authorization_engine.h +3 -3
- data/src/core/lib/security/authorization/authorization_policy_provider.h +3 -4
- data/src/core/lib/security/authorization/authorization_policy_provider_vtable.cc +1 -1
- data/src/core/lib/security/authorization/evaluate_args.cc +4 -6
- data/src/core/lib/security/authorization/evaluate_args.h +3 -4
- data/src/core/lib/security/authorization/grpc_authorization_engine.cc +2 -3
- data/src/core/lib/security/authorization/grpc_authorization_engine.h +2 -3
- data/src/core/lib/security/authorization/grpc_server_authz_filter.cc +5 -3
- data/src/core/lib/security/authorization/grpc_server_authz_filter.h +2 -3
- data/src/core/lib/security/authorization/matchers.cc +2 -4
- data/src/core/lib/security/authorization/matchers.h +2 -4
- data/src/core/lib/security/authorization/rbac_policy.cc +2 -2
- data/src/core/lib/security/authorization/rbac_policy.h +3 -5
- data/src/core/lib/security/authorization/stdout_logger.cc +4 -4
- data/src/core/lib/security/authorization/stdout_logger.h +4 -4
- data/src/core/lib/security/certificate_provider/certificate_provider_factory.h +6 -7
- data/src/core/lib/security/certificate_provider/certificate_provider_registry.cc +2 -2
- data/src/core/lib/security/certificate_provider/certificate_provider_registry.h +2 -3
- data/src/core/lib/security/context/security_context.cc +6 -8
- data/src/core/lib/security/context/security_context.h +16 -10
- data/src/core/lib/security/credentials/alts/alts_credentials.cc +5 -5
- data/src/core/lib/security/credentials/alts/alts_credentials.h +8 -4
- data/src/core/lib/security/credentials/alts/check_gcp_environment.cc +2 -3
- data/src/core/lib/security/credentials/alts/check_gcp_environment_linux.cc +1 -2
- data/src/core/lib/security/credentials/alts/check_gcp_environment_no_op.cc +1 -2
- data/src/core/lib/security/credentials/alts/check_gcp_environment_windows.cc +3 -4
- data/src/core/lib/security/credentials/alts/grpc_alts_credentials_client_options.cc +1 -2
- data/src/core/lib/security/credentials/alts/grpc_alts_credentials_options.cc +2 -2
- data/src/core/lib/security/credentials/call_creds_util.cc +6 -5
- data/src/core/lib/security/credentials/call_creds_util.h +2 -2
- data/src/core/lib/security/credentials/channel_creds_registry.h +5 -6
- data/src/core/lib/security/credentials/channel_creds_registry_init.cc +10 -11
- data/src/core/lib/security/credentials/composite/composite_credentials.cc +3 -4
- data/src/core/lib/security/credentials/composite/composite_credentials.h +8 -9
- data/src/core/lib/security/credentials/credentials.cc +1 -4
- data/src/core/lib/security/credentials/credentials.h +11 -12
- data/src/core/lib/security/credentials/external/aws_external_account_credentials.cc +10 -12
- data/src/core/lib/security/credentials/external/aws_external_account_credentials.h +7 -6
- data/src/core/lib/security/credentials/external/aws_request_signer.cc +4 -5
- data/src/core/lib/security/credentials/external/aws_request_signer.h +3 -3
- data/src/core/lib/security/credentials/external/external_account_credentials.cc +15 -16
- data/src/core/lib/security/credentials/external/external_account_credentials.h +5 -7
- data/src/core/lib/security/credentials/external/file_external_account_credentials.cc +6 -7
- data/src/core/lib/security/credentials/external/file_external_account_credentials.h +6 -5
- data/src/core/lib/security/credentials/external/url_external_account_credentials.cc +8 -10
- data/src/core/lib/security/credentials/external/url_external_account_credentials.h +8 -7
- data/src/core/lib/security/credentials/fake/fake_credentials.cc +2 -4
- data/src/core/lib/security/credentials/fake/fake_credentials.h +6 -7
- data/src/core/lib/security/credentials/gcp_service_account_identity/gcp_service_account_identity_credentials.cc +5 -6
- data/src/core/lib/security/credentials/gcp_service_account_identity/gcp_service_account_identity_credentials.h +7 -7
- data/src/core/lib/security/credentials/google_default/credentials_generic.cc +3 -4
- data/src/core/lib/security/credentials/google_default/google_default_credentials.cc +18 -21
- data/src/core/lib/security/credentials/google_default/google_default_credentials.h +7 -5
- data/src/core/lib/security/credentials/iam/iam_credentials.cc +2 -4
- data/src/core/lib/security/credentials/iam/iam_credentials.h +5 -6
- data/src/core/lib/security/credentials/insecure/insecure_credentials.cc +2 -2
- data/src/core/lib/security/credentials/insecure/insecure_credentials.h +2 -2
- data/src/core/lib/security/credentials/jwt/json_token.cc +11 -14
- data/src/core/lib/security/credentials/jwt/json_token.h +1 -2
- data/src/core/lib/security/credentials/jwt/jwt_credentials.cc +8 -10
- data/src/core/lib/security/credentials/jwt/jwt_credentials.h +7 -9
- data/src/core/lib/security/credentials/jwt/jwt_verifier.cc +19 -22
- data/src/core/lib/security/credentials/jwt/jwt_verifier.h +2 -3
- data/src/core/lib/security/credentials/local/local_credentials.cc +2 -2
- data/src/core/lib/security/credentials/local/local_credentials.h +2 -2
- data/src/core/lib/security/credentials/oauth2/oauth2_credentials.cc +14 -16
- data/src/core/lib/security/credentials/oauth2/oauth2_credentials.h +12 -13
- data/src/core/lib/security/credentials/plugin/plugin_credentials.cc +3 -4
- data/src/core/lib/security/credentials/plugin/plugin_credentials.h +9 -11
- data/src/core/lib/security/credentials/ssl/ssl_credentials.cc +4 -6
- data/src/core/lib/security/credentials/ssl/ssl_credentials.h +4 -6
- data/src/core/lib/security/credentials/tls/grpc_tls_certificate_distributor.cc +3 -3
- data/src/core/lib/security/credentials/tls/grpc_tls_certificate_distributor.h +4 -5
- data/src/core/lib/security/credentials/tls/grpc_tls_certificate_match.cc +1 -3
- data/src/core/lib/security/credentials/tls/grpc_tls_certificate_provider.cc +79 -9
- data/src/core/lib/security/credentials/tls/grpc_tls_certificate_provider.h +13 -11
- data/src/core/lib/security/credentials/tls/grpc_tls_certificate_verifier.cc +4 -6
- data/src/core/lib/security/credentials/tls/grpc_tls_certificate_verifier.h +8 -9
- data/src/core/lib/security/credentials/tls/grpc_tls_credentials_options.cc +4 -5
- data/src/core/lib/security/credentials/tls/grpc_tls_credentials_options.h +1 -1
- data/src/core/lib/security/credentials/tls/grpc_tls_crl_provider.cc +3 -5
- data/src/core/lib/security/credentials/tls/grpc_tls_crl_provider.h +8 -10
- data/src/core/lib/security/credentials/tls/tls_credentials.cc +6 -7
- data/src/core/lib/security/credentials/tls/tls_credentials.h +5 -3
- data/src/core/lib/security/credentials/tls/tls_utils.cc +1 -2
- data/src/core/lib/security/credentials/tls/tls_utils.h +3 -3
- data/src/core/lib/security/credentials/token_fetcher/token_fetcher_credentials.cc +29 -22
- data/src/core/lib/security/credentials/token_fetcher/token_fetcher_credentials.h +15 -10
- data/src/core/lib/security/credentials/xds/xds_credentials.cc +2 -3
- data/src/core/lib/security/credentials/xds/xds_credentials.h +7 -9
- data/src/core/lib/security/security_connector/alts/alts_security_connector.cc +9 -11
- data/src/core/lib/security/security_connector/alts/alts_security_connector.h +1 -1
- data/src/core/lib/security/security_connector/fake/fake_security_connector.cc +9 -11
- data/src/core/lib/security/security_connector/fake/fake_security_connector.h +1 -1
- data/src/core/lib/security/security_connector/insecure/insecure_security_connector.cc +4 -6
- data/src/core/lib/security/security_connector/insecure/insecure_security_connector.h +5 -6
- data/src/core/lib/security/security_connector/load_system_roots_supported.cc +5 -7
- data/src/core/lib/security/security_connector/load_system_roots_windows.cc +3 -4
- data/src/core/lib/security/security_connector/local/local_security_connector.cc +17 -13
- data/src/core/lib/security/security_connector/local/local_security_connector.h +1 -1
- data/src/core/lib/security/security_connector/security_connector.cc +2 -4
- data/src/core/lib/security/security_connector/security_connector.h +7 -8
- data/src/core/lib/security/security_connector/ssl/ssl_security_connector.cc +6 -8
- data/src/core/lib/security/security_connector/ssl/ssl_security_connector.h +2 -3
- data/src/core/lib/security/security_connector/ssl_utils.cc +12 -14
- data/src/core/lib/security/security_connector/ssl_utils.h +7 -9
- data/src/core/lib/security/security_connector/tls/tls_security_connector.cc +8 -10
- data/src/core/lib/security/security_connector/tls/tls_security_connector.h +7 -8
- data/src/core/lib/security/transport/auth_filters.h +2 -3
- data/src/core/lib/security/transport/client_auth_filter.cc +8 -10
- data/src/core/lib/security/transport/server_auth_filter.cc +10 -11
- data/src/core/lib/security/util/json_util.cc +4 -5
- data/src/core/lib/slice/percent_encoding.cc +2 -4
- data/src/core/lib/slice/slice.cc +4 -6
- data/src/core/lib/slice/slice.h +5 -7
- data/src/core/lib/slice/slice_buffer.cc +5 -6
- data/src/core/lib/slice/slice_buffer.h +3 -4
- data/src/core/lib/slice/slice_internal.h +3 -5
- data/src/core/lib/slice/slice_refcount.h +2 -3
- data/src/core/lib/slice/slice_string_helpers.h +1 -2
- data/src/core/lib/surface/byte_buffer.cc +1 -2
- data/src/core/lib/surface/byte_buffer_reader.cc +3 -5
- data/src/core/lib/surface/call.cc +22 -24
- data/src/core/lib/surface/call.h +6 -8
- data/src/core/lib/surface/call_log_batch.cc +3 -5
- data/src/core/lib/surface/call_test_only.h +1 -2
- data/src/core/lib/surface/call_utils.cc +16 -59
- data/src/core/lib/surface/call_utils.h +57 -19
- data/src/core/lib/surface/channel.cc +1 -2
- data/src/core/lib/surface/channel.h +11 -12
- data/src/core/lib/surface/channel_create.cc +2 -3
- data/src/core/lib/surface/channel_create.h +2 -3
- data/src/core/lib/surface/channel_init.cc +4 -6
- data/src/core/lib/surface/channel_init.h +4 -6
- data/src/core/lib/surface/client_call.cc +66 -54
- data/src/core/lib/surface/client_call.h +27 -19
- data/src/core/lib/surface/completion_queue.cc +12 -14
- data/src/core/lib/surface/completion_queue.h +4 -5
- data/src/core/lib/surface/completion_queue_factory.cc +1 -2
- data/src/core/lib/surface/connection_context.cc +77 -0
- data/src/core/lib/surface/connection_context.h +156 -0
- data/src/core/lib/surface/event_string.cc +2 -2
- data/src/core/lib/surface/event_string.h +2 -2
- data/src/core/lib/surface/filter_stack_call.cc +18 -20
- data/src/core/lib/surface/filter_stack_call.h +16 -18
- data/src/core/lib/surface/init.cc +28 -7
- data/src/core/lib/surface/init.h +5 -0
- data/src/core/lib/surface/lame_client.cc +10 -11
- data/src/core/lib/surface/lame_client.h +4 -5
- data/src/core/lib/surface/legacy_channel.cc +11 -12
- data/src/core/lib/surface/legacy_channel.h +6 -7
- data/src/core/lib/surface/metadata_array.cc +1 -2
- data/src/core/lib/surface/server_call.cc +22 -18
- data/src/core/lib/surface/server_call.h +19 -20
- data/src/core/lib/surface/validate_metadata.cc +3 -4
- data/src/core/lib/surface/validate_metadata.h +2 -4
- data/src/core/lib/surface/version.cc +2 -2
- data/src/core/lib/transport/bdp_estimator.cc +2 -3
- data/src/core/lib/transport/bdp_estimator.h +3 -5
- data/src/core/lib/transport/call_arena_allocator.cc +2 -2
- data/src/core/lib/transport/call_arena_allocator.h +2 -3
- data/src/core/lib/transport/call_destination.h +1 -1
- data/src/core/lib/transport/call_filters.cc +5 -117
- data/src/core/lib/transport/call_filters.h +402 -35
- data/src/core/lib/transport/call_final_info.cc +2 -2
- data/src/core/lib/transport/call_final_info.h +3 -3
- data/src/core/lib/transport/call_spine.cc +1 -6
- data/src/core/lib/transport/call_spine.h +29 -12
- data/src/core/lib/transport/call_state.h +145 -41
- data/src/core/lib/transport/connectivity_state.cc +3 -4
- data/src/core/lib/transport/connectivity_state.h +5 -6
- data/src/core/lib/transport/error_utils.cc +3 -4
- data/src/core/lib/transport/error_utils.h +4 -5
- data/src/core/lib/transport/interception_chain.cc +3 -3
- data/src/core/lib/transport/interception_chain.h +17 -8
- data/src/core/lib/transport/message.cc +2 -2
- data/src/core/lib/transport/message.h +5 -0
- data/src/core/lib/transport/metadata_batch.cc +12 -5
- data/src/core/lib/transport/metadata_batch.h +17 -11
- data/src/core/lib/transport/metadata_compression_traits.h +3 -4
- data/src/core/lib/transport/parsed_metadata.h +3 -5
- data/src/core/lib/transport/simple_slice_based_metadata.h +1 -2
- data/src/core/lib/transport/status_conversion.h +1 -1
- data/src/core/lib/transport/timeout_encoding.cc +7 -7
- data/src/core/lib/transport/timeout_encoding.h +2 -4
- data/src/core/lib/transport/transport.cc +4 -6
- data/src/core/lib/transport/transport.h +7 -9
- data/src/core/lib/transport/transport_framing_endpoint_extension.h +47 -0
- data/src/core/lib/transport/transport_op_string.cc +4 -5
- data/src/core/load_balancing/address_filtering.cc +2 -4
- data/src/core/load_balancing/address_filtering.h +4 -5
- data/src/core/load_balancing/backend_metric_data.h +2 -2
- data/src/core/load_balancing/backend_metric_parser.cc +1 -2
- data/src/core/load_balancing/backend_metric_parser.h +1 -3
- data/src/core/load_balancing/child_policy_handler.cc +5 -6
- data/src/core/load_balancing/child_policy_handler.h +4 -5
- data/src/core/load_balancing/delegating_helper.h +6 -7
- data/src/core/load_balancing/endpoint_list.cc +7 -9
- data/src/core/load_balancing/endpoint_list.h +6 -8
- data/src/core/load_balancing/grpclb/client_load_reporting_filter.cc +10 -4
- data/src/core/load_balancing/grpclb/client_load_reporting_filter.h +1 -2
- data/src/core/load_balancing/grpclb/grpclb.cc +20 -22
- data/src/core/load_balancing/grpclb/grpclb_balancer_addresses.cc +1 -2
- data/src/core/load_balancing/grpclb/grpclb_client_stats.cc +2 -3
- data/src/core/load_balancing/grpclb/grpclb_client_stats.h +5 -7
- data/src/core/load_balancing/grpclb/load_balancer_api.cc +4 -6
- data/src/core/load_balancing/grpclb/load_balancer_api.h +4 -6
- data/src/core/load_balancing/health_check_client.cc +20 -20
- data/src/core/load_balancing/health_check_client.h +3 -3
- data/src/core/load_balancing/health_check_client_internal.h +8 -9
- data/src/core/load_balancing/lb_policy.h +13 -15
- data/src/core/load_balancing/lb_policy_factory.h +4 -5
- data/src/core/load_balancing/lb_policy_registry.cc +3 -4
- data/src/core/load_balancing/lb_policy_registry.h +4 -5
- data/src/core/load_balancing/oob_backend_metric.cc +14 -16
- data/src/core/load_balancing/oob_backend_metric.h +3 -3
- data/src/core/load_balancing/oob_backend_metric_internal.h +8 -9
- data/src/core/load_balancing/outlier_detection/outlier_detection.cc +31 -26
- data/src/core/load_balancing/outlier_detection/outlier_detection.h +3 -5
- data/src/core/load_balancing/pick_first/pick_first.cc +28 -25
- data/src/core/load_balancing/priority/priority.cc +12 -14
- data/src/core/load_balancing/ring_hash/ring_hash.cc +13 -15
- data/src/core/load_balancing/ring_hash/ring_hash.h +3 -4
- data/src/core/load_balancing/rls/rls.cc +27 -29
- data/src/core/load_balancing/round_robin/round_robin.cc +9 -15
- data/src/core/load_balancing/subchannel_interface.h +13 -6
- data/src/core/load_balancing/weighted_round_robin/static_stride_scheduler.cc +4 -4
- data/src/core/load_balancing/weighted_round_robin/static_stride_scheduler.h +2 -3
- data/src/core/load_balancing/weighted_round_robin/weighted_round_robin.cc +15 -19
- data/src/core/load_balancing/weighted_target/weighted_target.cc +11 -13
- data/src/core/load_balancing/xds/cds.cc +23 -20
- data/src/core/load_balancing/xds/xds_cluster_impl.cc +42 -45
- data/src/core/load_balancing/xds/xds_cluster_manager.cc +10 -12
- data/src/core/load_balancing/xds/xds_override_host.cc +15 -17
- data/src/core/load_balancing/xds/xds_override_host.h +3 -4
- data/src/core/load_balancing/xds/xds_wrr_locality.cc +11 -12
- data/src/core/plugin_registry/grpc_plugin_registry.cc +1 -7
- data/src/core/plugin_registry/grpc_plugin_registry_extra.cc +3 -1
- data/src/core/resolver/dns/c_ares/dns_resolver_ares.cc +13 -16
- data/src/core/resolver/dns/c_ares/dns_resolver_ares.h +2 -3
- data/src/core/resolver/dns/c_ares/grpc_ares_ev_driver.h +4 -6
- data/src/core/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc +2 -4
- data/src/core/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc +8 -11
- data/src/core/resolver/dns/c_ares/grpc_ares_wrapper.cc +15 -19
- data/src/core/resolver/dns/c_ares/grpc_ares_wrapper.h +3 -6
- data/src/core/resolver/dns/dns_resolver_plugin.cc +4 -5
- data/src/core/resolver/dns/dns_resolver_plugin.h +1 -1
- data/src/core/resolver/dns/event_engine/event_engine_client_channel_resolver.cc +9 -11
- data/src/core/resolver/dns/event_engine/event_engine_client_channel_resolver.h +3 -4
- data/src/core/resolver/dns/event_engine/service_config_helper.cc +3 -5
- data/src/core/resolver/dns/event_engine/service_config_helper.h +2 -2
- data/src/core/resolver/dns/native/dns_resolver.cc +10 -11
- data/src/core/resolver/dns/native/dns_resolver.h +1 -1
- data/src/core/resolver/endpoint_addresses.cc +1 -3
- data/src/core/resolver/endpoint_addresses.h +2 -3
- data/src/core/resolver/fake/fake_resolver.cc +7 -8
- data/src/core/resolver/fake/fake_resolver.h +7 -8
- data/src/core/resolver/google_c2p/google_c2p_resolver.cc +11 -12
- data/src/core/resolver/polling_resolver.cc +6 -8
- data/src/core/resolver/polling_resolver.h +7 -8
- data/src/core/resolver/resolver.h +4 -5
- data/src/core/resolver/resolver_factory.h +4 -5
- data/src/core/resolver/resolver_registry.cc +2 -2
- data/src/core/resolver/resolver_registry.h +4 -5
- data/src/core/resolver/sockaddr/sockaddr_resolver.cc +5 -6
- data/src/core/resolver/xds/xds_config.cc +1 -2
- data/src/core/resolver/xds/xds_config.h +1 -2
- data/src/core/resolver/xds/xds_dependency_manager.cc +2 -5
- data/src/core/resolver/xds/xds_dependency_manager.h +1 -2
- data/src/core/resolver/xds/xds_resolver.cc +15 -17
- data/src/core/resolver/xds/xds_resolver_attributes.h +2 -3
- data/src/core/server/server.cc +97 -74
- data/src/core/server/server.h +13 -16
- data/src/core/server/server_call_tracer_filter.cc +11 -4
- data/src/core/server/server_call_tracer_filter.h +1 -1
- data/src/core/server/server_config_selector.h +5 -6
- data/src/core/server/server_config_selector_filter.cc +8 -6
- data/src/core/server/xds_channel_stack_modifier.cc +3 -3
- data/src/core/server/xds_channel_stack_modifier.h +5 -6
- data/src/core/server/xds_server_config_fetcher.cc +23 -24
- data/src/core/service_config/service_config.h +3 -5
- data/src/core/service_config/service_config_call_data.h +5 -6
- data/src/core/service_config/service_config_channel_arg_filter.cc +8 -6
- data/src/core/service_config/service_config_impl.cc +4 -6
- data/src/core/service_config/service_config_impl.h +4 -6
- data/src/core/service_config/service_config_parser.cc +1 -2
- data/src/core/service_config/service_config_parser.h +2 -4
- data/src/core/telemetry/call_tracer.cc +2 -3
- data/src/core/telemetry/call_tracer.h +5 -6
- data/src/core/telemetry/histogram_view.cc +3 -3
- data/src/core/telemetry/histogram_view.h +1 -2
- data/src/core/telemetry/metrics.cc +18 -16
- data/src/core/telemetry/metrics.h +13 -10
- data/src/core/telemetry/stats.cc +1 -2
- data/src/core/telemetry/stats.h +2 -4
- data/src/core/telemetry/stats_data.cc +114 -2
- data/src/core/telemetry/stats_data.h +82 -4
- data/src/core/telemetry/tcp_tracer.h +1 -2
- data/src/core/tsi/alts/crypt/aes_gcm.cc +5 -8
- data/src/core/tsi/alts/crypt/gsec.cc +2 -3
- data/src/core/tsi/alts/crypt/gsec.h +3 -4
- data/src/core/tsi/alts/frame_protector/alts_counter.cc +1 -2
- data/src/core/tsi/alts/frame_protector/alts_counter.h +3 -4
- data/src/core/tsi/alts/frame_protector/alts_crypter.cc +1 -2
- data/src/core/tsi/alts/frame_protector/alts_crypter.h +2 -3
- data/src/core/tsi/alts/frame_protector/alts_frame_protector.cc +4 -5
- data/src/core/tsi/alts/frame_protector/alts_frame_protector.h +1 -2
- data/src/core/tsi/alts/frame_protector/alts_seal_privacy_integrity_crypter.cc +1 -1
- data/src/core/tsi/alts/frame_protector/alts_unseal_privacy_integrity_crypter.cc +1 -1
- data/src/core/tsi/alts/frame_protector/frame_handler.cc +4 -6
- data/src/core/tsi/alts/frame_protector/frame_handler.h +1 -2
- data/src/core/tsi/alts/handshaker/alts_handshaker_client.cc +11 -12
- data/src/core/tsi/alts/handshaker/alts_shared_resource.cc +2 -3
- data/src/core/tsi/alts/handshaker/alts_shared_resource.h +1 -1
- data/src/core/tsi/alts/handshaker/alts_tsi_handshaker.cc +19 -17
- data/src/core/tsi/alts/handshaker/alts_tsi_utils.cc +2 -3
- data/src/core/tsi/alts/handshaker/transport_security_common_api.cc +2 -2
- data/src/core/tsi/alts/handshaker/transport_security_common_api.h +3 -3
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_integrity_only_record_protocol.cc +3 -5
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_integrity_only_record_protocol.h +1 -2
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_privacy_integrity_record_protocol.cc +2 -3
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_privacy_integrity_record_protocol.h +1 -2
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_record_protocol_common.cc +3 -5
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_iovec_record_protocol.cc +3 -4
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_iovec_record_protocol.h +1 -2
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector.cc +3 -5
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector.h +1 -2
- data/src/core/tsi/fake_transport_security.cc +4 -7
- data/src/core/tsi/local_transport_security.cc +4 -6
- data/src/core/tsi/ssl/key_logging/ssl_key_logging.cc +4 -5
- data/src/core/tsi/ssl/key_logging/ssl_key_logging.h +8 -10
- data/src/core/tsi/ssl/session_cache/ssl_session.h +4 -5
- data/src/core/tsi/ssl/session_cache/ssl_session_cache.cc +4 -5
- data/src/core/tsi/ssl/session_cache/ssl_session_cache.h +7 -8
- data/src/core/tsi/ssl/session_cache/ssl_session_openssl.cc +2 -4
- data/src/core/tsi/ssl_transport_security.cc +29 -17
- data/src/core/tsi/ssl_transport_security.h +6 -8
- data/src/core/tsi/ssl_transport_security_utils.cc +1 -3
- data/src/core/tsi/ssl_transport_security_utils.h +3 -5
- data/src/core/tsi/ssl_types.h +1 -2
- data/src/core/tsi/transport_security.cc +2 -3
- data/src/core/tsi/transport_security.h +1 -2
- data/src/core/tsi/transport_security_interface.h +3 -4
- data/src/core/util/alloc.cc +2 -5
- data/src/core/util/atm.cc +1 -2
- data/src/core/{lib/gprpp → util}/atomic_utils.h +5 -5
- data/src/core/{lib/avl → util}/avl.h +6 -7
- data/src/core/{lib/backoff → util}/backoff.cc +3 -1
- data/src/core/{lib/backoff → util}/backoff.h +4 -5
- data/src/core/{lib/gprpp → util}/bitset.h +4 -5
- data/src/core/{lib/gprpp → util}/chunked_vector.h +6 -7
- data/src/core/{lib/gprpp → util}/construct_destruct.h +8 -7
- data/src/core/{lib/gprpp → util}/cpp_impl_of.h +3 -3
- data/src/core/{lib/gprpp → util}/crash.cc +2 -3
- data/src/core/{lib/gprpp → util}/crash.h +5 -6
- data/src/core/{lib/gprpp → util}/debug_location.h +5 -5
- data/src/core/{lib/gprpp → util}/directory_reader.h +5 -5
- data/src/core/{lib/gprpp → util}/down_cast.h +7 -7
- data/src/core/{lib/gprpp → util}/dual_ref_counted.h +10 -11
- data/src/core/{lib/gprpp → util}/dump_args.cc +1 -1
- data/src/core/{lib/gprpp → util}/dump_args.h +12 -7
- data/src/core/{lib/gprpp → util}/env.h +5 -5
- data/src/core/{lib/debug → util}/event_log.cc +3 -3
- data/src/core/{lib/debug → util}/event_log.h +6 -8
- data/src/core/{lib/gprpp → util}/examine_stack.cc +1 -1
- data/src/core/{lib/gprpp → util}/examine_stack.h +5 -5
- data/src/core/{lib/gprpp → util}/fork.cc +5 -5
- data/src/core/{lib/gprpp → util}/fork.h +7 -7
- data/src/core/util/gcp_metadata_query.cc +8 -11
- data/src/core/util/gcp_metadata_query.h +2 -3
- data/src/core/{lib/iomgr → util}/gethostname.h +3 -3
- data/src/core/{lib/iomgr → util}/gethostname_fallback.cc +1 -1
- data/src/core/{lib/iomgr → util}/gethostname_host_name_max.cc +2 -3
- data/src/core/{lib/iomgr → util}/gethostname_sysconf.cc +2 -3
- data/src/core/{lib/gprpp → util}/glob.h +3 -3
- data/src/core/util/gpr_time.cc +268 -0
- data/src/core/{lib/iomgr → util}/grpc_if_nametoindex.h +4 -5
- data/src/core/{lib/iomgr → util}/grpc_if_nametoindex_posix.cc +2 -3
- data/src/core/{lib/iomgr → util}/grpc_if_nametoindex_unsupported.cc +2 -3
- data/src/core/{lib/gprpp → util}/host_port.cc +2 -3
- data/src/core/{lib/gprpp → util}/host_port.h +5 -5
- data/src/core/util/http_client/format_request.cc +2 -5
- data/src/core/util/http_client/format_request.h +1 -2
- data/src/core/util/http_client/httpcli.cc +19 -15
- data/src/core/util/http_client/httpcli.h +8 -11
- data/src/core/util/http_client/httpcli_security_connector.cc +9 -12
- data/src/core/util/http_client/httpcli_ssl_credentials.h +2 -3
- data/src/core/util/http_client/parser.cc +2 -4
- data/src/core/util/http_client/parser.h +1 -3
- data/src/core/{lib/gprpp → util}/if_list.h +3 -3
- data/src/core/util/iphone/cpu.cc +1 -2
- data/src/core/util/json/json.h +1 -2
- data/src/core/util/json/json_channel_args.h +0 -1
- data/src/core/util/json/json_object_loader.cc +3 -4
- data/src/core/util/json/json_object_loader.h +8 -9
- data/src/core/util/json/json_reader.cc +2 -5
- data/src/core/util/json/json_reader.h +0 -1
- data/src/core/util/json/json_util.cc +4 -4
- data/src/core/util/json/json_util.h +1 -2
- data/src/core/util/json/json_writer.cc +1 -3
- data/src/core/util/latent_see.cc +99 -69
- data/src/core/util/latent_see.h +45 -20
- data/src/core/util/linux/cpu.cc +4 -6
- data/src/core/{lib/gprpp → util}/linux/env.cc +3 -3
- data/src/core/{lib/gprpp → util}/load_file.cc +4 -5
- data/src/core/{lib/gprpp → util}/load_file.h +5 -6
- data/src/core/util/log.cc +10 -13
- data/src/core/util/lru_cache.h +27 -9
- data/src/core/{lib/gprpp → util}/manual_constructor.h +5 -6
- data/src/core/{lib/gprpp → util}/match.h +6 -7
- data/src/core/{lib/matchers → util}/matchers.cc +10 -3
- data/src/core/{lib/matchers → util}/matchers.h +9 -5
- data/src/core/{lib/gprpp → util}/memory.h +6 -6
- data/src/core/{lib/gprpp → util}/mpscq.cc +1 -1
- data/src/core/{lib/gprpp → util}/mpscq.h +6 -7
- data/src/core/util/msys/tmpfile.cc +3 -4
- data/src/core/{lib/gprpp → util}/no_destruct.h +6 -6
- data/src/core/{lib/gprpp → util}/notification.h +6 -7
- data/src/core/{lib/gprpp → util}/orphanable.h +9 -9
- data/src/core/{lib/gprpp → util}/overload.h +5 -5
- data/src/core/{lib/gprpp → util}/packed_table.h +5 -5
- data/src/core/{lib/gprpp → util}/per_cpu.cc +1 -1
- data/src/core/{lib/gprpp → util}/per_cpu.h +5 -6
- data/src/core/util/posix/cpu.cc +3 -5
- data/src/core/{lib/gprpp → util}/posix/directory_reader.cc +4 -4
- data/src/core/{lib/gprpp → util}/posix/env.cc +1 -1
- data/src/core/{lib/gprpp → util}/posix/stat.cc +4 -5
- data/src/core/util/posix/string.cc +2 -3
- data/src/core/util/posix/sync.cc +3 -5
- data/src/core/{lib/gprpp → util}/posix/thd.cc +8 -11
- data/src/core/util/posix/time.cc +4 -5
- data/src/core/util/posix/tmpfile.cc +4 -6
- data/src/core/{lib/backoff → util}/random_early_detection.cc +3 -3
- data/src/core/{lib/backoff → util}/random_early_detection.h +4 -5
- data/src/core/{lib/gprpp → util}/ref_counted.h +9 -10
- data/src/core/{lib/gprpp → util}/ref_counted_ptr.h +6 -8
- data/src/core/{lib/gprpp → util}/ref_counted_string.cc +3 -4
- data/src/core/{lib/gprpp → util}/ref_counted_string.h +6 -8
- data/src/core/{lib/gprpp → util}/single_set_ptr.h +5 -5
- data/src/core/{lib/gprpp → util}/sorted_pack.h +6 -6
- data/src/core/util/spinlock.h +1 -2
- data/src/core/{lib/gprpp → util}/stat.h +4 -5
- data/src/core/{lib/gprpp → util}/status_helper.cc +5 -7
- data/src/core/{lib/gprpp → util}/status_helper.h +5 -7
- data/src/core/{lib/gprpp → util}/strerror.cc +2 -3
- data/src/core/{lib/gprpp → util}/strerror.h +5 -5
- data/src/core/util/string.cc +6 -9
- data/src/core/util/string.h +1 -3
- data/src/core/util/sync.cc +3 -5
- data/src/core/{lib/gprpp → util}/sync.h +7 -7
- data/src/core/util/sync_abseil.cc +5 -7
- data/src/core/{lib/gprpp → util}/table.h +6 -8
- data/src/core/{lib/gprpp → util}/tchar.cc +1 -1
- data/src/core/{lib/gprpp → util}/tchar.h +3 -3
- data/src/core/{lib/gprpp → util}/thd.h +5 -6
- data/src/core/util/time.cc +174 -204
- data/src/core/{lib/gprpp → util}/time.h +16 -10
- data/src/core/{lib/gprpp → util}/time_averaged_stats.cc +1 -1
- data/src/core/{lib/gprpp → util}/time_averaged_stats.h +3 -3
- data/src/core/util/time_precise.cc +3 -4
- data/src/core/util/time_precise.h +0 -1
- data/src/core/{lib/gprpp → util}/time_util.cc +3 -4
- data/src/core/{lib/gprpp → util}/time_util.h +5 -5
- data/src/core/util/tmpfile.h +0 -1
- data/src/core/{lib/gprpp → util}/type_list.h +3 -3
- data/src/core/{lib/gprpp → util}/unique_type_name.h +5 -6
- data/src/core/{lib/uri/uri_parser.cc → util/uri.cc} +12 -7
- data/src/core/{lib/uri/uri_parser.h → util/uri.h} +10 -6
- data/src/core/{lib/gprpp → util}/uuid_v4.cc +3 -3
- data/src/core/{lib/gprpp → util}/uuid_v4.h +4 -5
- data/src/core/{lib/gprpp → util}/validation_errors.cc +2 -3
- data/src/core/{lib/gprpp → util}/validation_errors.h +4 -5
- data/src/core/util/windows/cpu.cc +1 -1
- data/src/core/{lib/gprpp → util}/windows/directory_reader.cc +1 -1
- data/src/core/{lib/gprpp → util}/windows/env.cc +2 -2
- data/src/core/{lib/gprpp → util}/windows/stat.cc +3 -4
- data/src/core/util/windows/string.cc +2 -3
- data/src/core/util/windows/string_util.cc +5 -7
- data/src/core/util/windows/sync.cc +2 -3
- data/src/core/{lib/gprpp → util}/windows/thd.cc +6 -8
- data/src/core/util/windows/time.cc +2 -4
- data/src/core/util/windows/tmpfile.cc +4 -5
- data/src/core/{lib/gprpp → util}/work_serializer.cc +7 -12
- data/src/core/{lib/gprpp → util}/work_serializer.h +8 -9
- data/src/core/{lib/gprpp → util}/xxhash_inline.h +3 -3
- data/src/core/xds/grpc/certificate_provider_store.cc +3 -4
- data/src/core/xds/grpc/certificate_provider_store.h +9 -10
- data/src/core/xds/grpc/file_watcher_certificate_provider_factory.cc +4 -5
- data/src/core/xds/grpc/file_watcher_certificate_provider_factory.h +6 -7
- data/src/core/xds/grpc/xds_audit_logger_registry.cc +4 -5
- data/src/core/xds/grpc/xds_audit_logger_registry.h +3 -4
- data/src/core/xds/grpc/xds_bootstrap_grpc.cc +4 -5
- data/src/core/xds/grpc/xds_bootstrap_grpc.h +4 -4
- data/src/core/xds/grpc/xds_certificate_provider.cc +2 -3
- data/src/core/xds/grpc/xds_certificate_provider.h +8 -9
- data/src/core/xds/grpc/xds_client_grpc.cc +63 -39
- data/src/core/xds/grpc/xds_client_grpc.h +14 -8
- data/src/core/xds/grpc/xds_cluster.cc +9 -4
- data/src/core/xds/grpc/xds_cluster.h +30 -4
- data/src/core/xds/grpc/xds_cluster_parser.cc +106 -26
- data/src/core/xds/grpc/xds_cluster_parser.h +6 -2
- data/src/core/xds/grpc/xds_cluster_specifier_plugin.cc +5 -7
- data/src/core/xds/grpc/xds_cluster_specifier_plugin.h +5 -6
- data/src/core/xds/grpc/xds_common_types.cc +1 -2
- data/src/core/xds/grpc/xds_common_types.h +2 -3
- data/src/core/xds/grpc/xds_common_types_parser.cc +45 -9
- data/src/core/xds/grpc/xds_common_types_parser.h +8 -3
- data/src/core/xds/grpc/xds_endpoint.h +7 -5
- data/src/core/xds/grpc/xds_endpoint_parser.cc +45 -40
- data/src/core/xds/grpc/xds_endpoint_parser.h +1 -2
- data/src/core/xds/grpc/xds_health_status.h +0 -1
- data/src/core/xds/grpc/xds_http_fault_filter.cc +5 -7
- data/src/core/xds/grpc/xds_http_fault_filter.h +4 -5
- data/src/core/xds/grpc/xds_http_filter.h +2 -3
- data/src/core/xds/grpc/xds_http_filter_registry.cc +2 -3
- data/src/core/xds/grpc/xds_http_filter_registry.h +2 -3
- data/src/core/xds/grpc/xds_http_gcp_authn_filter.cc +5 -6
- data/src/core/xds/grpc/xds_http_gcp_authn_filter.h +2 -3
- data/src/core/xds/grpc/xds_http_rbac_filter.cc +42 -39
- data/src/core/xds/grpc/xds_http_rbac_filter.h +4 -5
- data/src/core/xds/grpc/xds_http_stateful_session_filter.cc +5 -6
- data/src/core/xds/grpc/xds_http_stateful_session_filter.h +4 -5
- data/src/core/xds/grpc/xds_lb_policy_registry.cc +5 -7
- data/src/core/xds/grpc/xds_lb_policy_registry.h +4 -5
- data/src/core/xds/grpc/xds_listener.cc +1 -2
- data/src/core/xds/grpc/xds_listener.h +1 -2
- data/src/core/xds/grpc/xds_listener_parser.cc +5 -8
- data/src/core/xds/grpc/xds_listener_parser.h +1 -2
- data/src/core/xds/grpc/xds_metadata.h +26 -3
- data/src/core/xds/grpc/xds_metadata_parser.cc +51 -10
- data/src/core/xds/grpc/xds_metadata_parser.h +1 -2
- data/src/core/xds/grpc/xds_route_config.cc +3 -3
- data/src/core/xds/grpc/xds_route_config.h +2 -3
- data/src/core/xds/grpc/xds_route_config_parser.cc +11 -13
- data/src/core/xds/grpc/xds_route_config_parser.h +4 -7
- data/src/core/xds/grpc/xds_routing.cc +2 -4
- data/src/core/xds/grpc/xds_routing.h +1 -3
- data/src/core/xds/grpc/xds_server_grpc.cc +1 -2
- data/src/core/xds/grpc/xds_server_grpc.h +2 -2
- data/src/core/xds/grpc/xds_transport_grpc.cc +95 -50
- data/src/core/xds/grpc/xds_transport_grpc.h +33 -22
- data/src/core/xds/xds_client/lrs_client.cc +1292 -0
- data/src/core/xds/xds_client/lrs_client.h +394 -0
- data/src/core/xds/xds_client/xds_api.cc +31 -245
- data/src/core/xds/xds_client/xds_api.h +13 -36
- data/src/core/xds/xds_client/xds_backend_metric_propagation.cc +63 -0
- data/src/core/xds/xds_client/xds_backend_metric_propagation.h +59 -0
- data/src/core/xds/xds_client/xds_bootstrap.cc +2 -3
- data/src/core/xds/xds_client/xds_bootstrap.h +2 -2
- data/src/core/xds/xds_client/xds_client.cc +57 -595
- data/src/core/xds/xds_client/xds_client.h +33 -86
- data/src/core/xds/xds_client/xds_locality.h +102 -0
- data/src/core/xds/xds_client/xds_metrics.h +2 -2
- data/src/core/xds/xds_client/xds_resource_type.h +4 -5
- data/src/core/xds/xds_client/xds_resource_type_impl.h +3 -4
- data/src/core/xds/xds_client/xds_transport.h +29 -14
- data/src/ruby/ext/grpc/extconf.rb +1 -1
- data/src/ruby/ext/grpc/rb_byte_buffer.c +3 -3
- data/src/ruby/ext/grpc/rb_call.c +5 -5
- data/src/ruby/ext/grpc/rb_call_credentials.c +5 -6
- data/src/ruby/ext/grpc/rb_channel.c +6 -7
- data/src/ruby/ext/grpc/rb_channel_args.c +3 -3
- data/src/ruby/ext/grpc/rb_channel_credentials.c +5 -6
- data/src/ruby/ext/grpc/rb_channel_credentials.h +1 -2
- data/src/ruby/ext/grpc/rb_completion_queue.c +3 -4
- data/src/ruby/ext/grpc/rb_compression_options.c +6 -7
- data/src/ruby/ext/grpc/rb_event_thread.c +4 -5
- data/src/ruby/ext/grpc/rb_grpc.c +3 -4
- data/src/ruby/ext/grpc/rb_grpc.h +2 -3
- data/src/ruby/ext/grpc/rb_server.c +6 -6
- data/src/ruby/ext/grpc/rb_server_credentials.c +3 -3
- data/src/ruby/ext/grpc/rb_server_credentials.h +1 -2
- data/src/ruby/ext/grpc/rb_xds_channel_credentials.c +5 -6
- data/src/ruby/ext/grpc/rb_xds_channel_credentials.h +1 -2
- data/src/ruby/ext/grpc/rb_xds_server_credentials.c +4 -4
- data/src/ruby/ext/grpc/rb_xds_server_credentials.h +1 -2
- data/src/ruby/lib/grpc/version.rb +1 -1
- data/src/ruby/spec/generic/client_stub_spec.rb +20 -20
- data/third_party/abseil-cpp/absl/algorithm/container.h +57 -18
- data/third_party/abseil-cpp/absl/base/attributes.h +84 -0
- data/third_party/abseil-cpp/absl/base/config.h +32 -51
- data/third_party/abseil-cpp/absl/base/dynamic_annotations.h +0 -16
- data/third_party/abseil-cpp/absl/base/internal/nullability_impl.h +3 -1
- data/third_party/abseil-cpp/absl/base/internal/spinlock.h +13 -3
- data/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock.cc +0 -12
- data/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock_config.h +4 -4
- data/third_party/abseil-cpp/absl/base/macros.h +48 -0
- data/third_party/abseil-cpp/absl/base/no_destructor.h +35 -40
- data/third_party/abseil-cpp/absl/base/nullability.h +33 -7
- data/third_party/abseil-cpp/absl/base/optimization.h +11 -0
- data/third_party/abseil-cpp/absl/base/options.h +1 -1
- data/third_party/abseil-cpp/absl/base/prefetch.h +1 -1
- data/third_party/abseil-cpp/absl/container/flat_hash_map.h +68 -12
- data/third_party/abseil-cpp/absl/container/flat_hash_set.h +60 -6
- data/third_party/abseil-cpp/absl/container/hash_container_defaults.h +45 -0
- data/third_party/abseil-cpp/absl/container/inlined_vector.h +13 -0
- data/third_party/abseil-cpp/absl/container/internal/common_policy_traits.h +20 -11
- data/third_party/abseil-cpp/absl/container/internal/compressed_tuple.h +15 -16
- data/third_party/abseil-cpp/absl/container/internal/container_memory.h +34 -1
- data/third_party/abseil-cpp/absl/container/internal/hash_function_defaults.h +68 -1
- data/third_party/abseil-cpp/absl/container/internal/hash_policy_traits.h +50 -0
- data/third_party/abseil-cpp/absl/container/internal/hashtablez_sampler.cc +22 -7
- data/third_party/abseil-cpp/absl/container/internal/hashtablez_sampler.h +26 -8
- data/third_party/abseil-cpp/absl/container/internal/inlined_vector.h +39 -35
- data/third_party/abseil-cpp/absl/container/internal/layout.h +190 -74
- data/third_party/abseil-cpp/absl/container/internal/raw_hash_map.h +8 -6
- data/third_party/abseil-cpp/absl/container/internal/raw_hash_set.cc +334 -71
- data/third_party/abseil-cpp/absl/container/internal/raw_hash_set.h +1299 -458
- data/third_party/abseil-cpp/absl/crc/internal/crc32_x86_arm_combined_simd.h +19 -17
- data/third_party/abseil-cpp/absl/crc/internal/crc_cord_state.cc +4 -3
- data/third_party/abseil-cpp/absl/crc/internal/crc_memcpy_fallback.cc +2 -1
- data/third_party/abseil-cpp/absl/crc/internal/crc_memcpy_x86_arm_combined.cc +12 -8
- data/third_party/abseil-cpp/absl/crc/internal/crc_non_temporal_memcpy.cc +1 -1
- data/third_party/abseil-cpp/absl/crc/internal/crc_x86_arm_combined.cc +11 -7
- data/third_party/abseil-cpp/absl/crc/internal/non_temporal_memcpy.h +18 -17
- data/third_party/abseil-cpp/absl/debugging/internal/bounded_utf8_length_sequence.h +126 -0
- data/third_party/abseil-cpp/absl/debugging/internal/decode_rust_punycode.cc +258 -0
- data/third_party/abseil-cpp/absl/debugging/internal/decode_rust_punycode.h +55 -0
- data/third_party/abseil-cpp/absl/debugging/internal/demangle.cc +1057 -86
- data/third_party/abseil-cpp/absl/debugging/internal/demangle.h +3 -0
- data/third_party/abseil-cpp/absl/debugging/internal/demangle_rust.cc +925 -0
- data/third_party/abseil-cpp/absl/debugging/internal/demangle_rust.h +42 -0
- data/third_party/abseil-cpp/absl/debugging/internal/elf_mem_image.cc +43 -16
- data/third_party/abseil-cpp/absl/debugging/internal/elf_mem_image.h +8 -7
- data/third_party/abseil-cpp/absl/debugging/internal/stacktrace_aarch64-inl.inc +10 -7
- data/third_party/abseil-cpp/absl/debugging/internal/utf8_for_code_point.cc +70 -0
- data/third_party/abseil-cpp/absl/debugging/internal/utf8_for_code_point.h +47 -0
- data/third_party/abseil-cpp/absl/flags/commandlineflag.h +11 -0
- data/third_party/abseil-cpp/absl/flags/flag.h +2 -0
- data/third_party/abseil-cpp/absl/flags/internal/flag.cc +117 -30
- data/third_party/abseil-cpp/absl/flags/internal/flag.h +192 -30
- data/third_party/abseil-cpp/absl/flags/reflection.cc +10 -0
- data/third_party/abseil-cpp/absl/functional/any_invocable.h +13 -3
- data/third_party/abseil-cpp/absl/functional/bind_front.h +3 -2
- data/third_party/abseil-cpp/absl/functional/internal/any_invocable.h +7 -7
- data/third_party/abseil-cpp/absl/functional/internal/front_binder.h +9 -9
- data/third_party/abseil-cpp/absl/hash/internal/hash.cc +1 -1
- data/third_party/abseil-cpp/absl/hash/internal/hash.h +13 -3
- data/third_party/abseil-cpp/absl/hash/internal/low_level_hash.cc +60 -28
- data/third_party/abseil-cpp/absl/hash/internal/low_level_hash.h +4 -0
- data/third_party/abseil-cpp/absl/log/absl_vlog_is_on.h +3 -3
- data/third_party/abseil-cpp/absl/log/globals.h +28 -15
- data/third_party/abseil-cpp/absl/log/internal/check_op.cc +20 -0
- data/third_party/abseil-cpp/absl/log/internal/check_op.h +63 -21
- data/third_party/abseil-cpp/absl/log/internal/conditions.h +2 -2
- data/third_party/abseil-cpp/absl/log/internal/log_impl.h +23 -23
- data/third_party/abseil-cpp/absl/log/internal/log_message.cc +104 -47
- data/third_party/abseil-cpp/absl/log/internal/log_message.h +23 -4
- data/third_party/abseil-cpp/absl/log/internal/nullstream.h +1 -10
- data/third_party/abseil-cpp/absl/log/internal/strip.h +36 -0
- data/third_party/abseil-cpp/absl/log/log.h +5 -1
- data/third_party/abseil-cpp/absl/log/log_sink.h +11 -4
- data/third_party/abseil-cpp/absl/log/vlog_is_on.h +3 -3
- data/third_party/abseil-cpp/absl/meta/type_traits.h +138 -42
- data/third_party/abseil-cpp/absl/numeric/int128.cc +0 -3
- data/third_party/abseil-cpp/absl/numeric/int128.h +35 -5
- data/third_party/abseil-cpp/absl/numeric/int128_have_intrinsic.inc +14 -0
- data/third_party/abseil-cpp/absl/numeric/int128_no_intrinsic.inc +18 -0
- data/third_party/abseil-cpp/absl/numeric/internal/bits.h +6 -2
- data/third_party/abseil-cpp/absl/random/beta_distribution.h +8 -8
- data/third_party/abseil-cpp/absl/random/bit_gen_ref.h +9 -7
- data/third_party/abseil-cpp/absl/random/distributions.h +11 -11
- data/third_party/abseil-cpp/absl/random/seed_sequences.h +2 -0
- data/third_party/abseil-cpp/absl/status/internal/statusor_internal.h +61 -2
- data/third_party/abseil-cpp/absl/status/status.cc +0 -4
- data/third_party/abseil-cpp/absl/status/status.h +4 -4
- data/third_party/abseil-cpp/absl/status/statusor.h +108 -142
- data/third_party/abseil-cpp/absl/strings/ascii.cc +32 -71
- data/third_party/abseil-cpp/absl/strings/cord.cc +20 -15
- data/third_party/abseil-cpp/absl/strings/cord.h +68 -7
- data/third_party/abseil-cpp/absl/strings/escaping.cc +96 -21
- data/third_party/abseil-cpp/absl/strings/escaping.h +25 -8
- data/third_party/abseil-cpp/absl/strings/has_absl_stringify.h +1 -0
- data/third_party/abseil-cpp/absl/strings/internal/charconv_bigint.h +10 -0
- data/third_party/abseil-cpp/absl/strings/internal/cord_internal.h +29 -9
- data/third_party/abseil-cpp/absl/strings/internal/cord_rep_btree.h +2 -2
- data/third_party/abseil-cpp/absl/strings/internal/cordz_functions.cc +19 -13
- data/third_party/abseil-cpp/absl/strings/internal/cordz_functions.h +23 -13
- data/third_party/abseil-cpp/absl/strings/internal/cordz_handle.cc +24 -24
- data/third_party/abseil-cpp/absl/strings/internal/cordz_info.cc +12 -7
- data/third_party/abseil-cpp/absl/strings/internal/cordz_info.h +9 -4
- data/third_party/abseil-cpp/absl/strings/internal/escaping.cc +5 -2
- data/third_party/abseil-cpp/absl/strings/internal/str_join_internal.h +23 -2
- data/third_party/abseil-cpp/absl/strings/internal/str_split_internal.h +5 -1
- data/third_party/abseil-cpp/absl/strings/numbers.cc +107 -333
- data/third_party/abseil-cpp/absl/strings/numbers.h +12 -151
- data/third_party/abseil-cpp/absl/strings/str_cat.cc +49 -142
- data/third_party/abseil-cpp/absl/strings/str_cat.h +70 -85
- data/third_party/abseil-cpp/absl/strings/str_format.h +1 -1
- data/third_party/abseil-cpp/absl/strings/str_join.h +19 -5
- data/third_party/abseil-cpp/absl/strings/str_split.h +2 -2
- data/third_party/abseil-cpp/absl/strings/string_view.h +3 -2
- data/third_party/abseil-cpp/absl/strings/substitute.cc +4 -0
- data/third_party/abseil-cpp/absl/synchronization/internal/graphcycles.cc +11 -2
- data/third_party/abseil-cpp/absl/synchronization/internal/graphcycles.h +5 -0
- data/third_party/abseil-cpp/absl/synchronization/mutex.h +5 -4
- data/third_party/abseil-cpp/absl/time/civil_time.h +2 -2
- data/third_party/abseil-cpp/absl/time/clock.cc +15 -1
- data/third_party/abseil-cpp/absl/time/duration.cc +58 -53
- data/third_party/abseil-cpp/absl/time/format.cc +2 -1
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_libc.cc +1 -1
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_lookup.cc +0 -29
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/tzfile.h +3 -3
- data/third_party/abseil-cpp/absl/time/time.h +73 -29
- data/third_party/abseil-cpp/absl/types/compare.h +505 -0
- data/third_party/abseil-cpp/absl/types/internal/optional.h +2 -2
- data/third_party/abseil-cpp/absl/types/internal/variant.h +55 -67
- data/third_party/abseil-cpp/absl/types/optional.h +15 -18
- data/third_party/abseil-cpp/absl/types/span.h +3 -2
- data/third_party/abseil-cpp/absl/types/variant.h +19 -24
- data/third_party/abseil-cpp/absl/utility/utility.h +3 -41
- data/third_party/upb/upb/json/decode.c +59 -13
- data/third_party/upb/upb/json/decode.h +26 -3
- data/third_party/upb/upb/json/encode.c +2 -2
- data/third_party/upb/upb/lex/round_trip.c +10 -0
- data/third_party/upb/upb/mem/arena.c +13 -2
- data/third_party/upb/upb/mem/arena.h +9 -0
- data/third_party/upb/upb/mem/arena.hpp +5 -1
- data/third_party/upb/upb/message/accessors.c +2 -4
- data/third_party/upb/upb/message/accessors.h +178 -379
- data/third_party/upb/upb/message/copy.c +11 -7
- data/third_party/upb/upb/message/internal/accessors.h +578 -26
- data/third_party/upb/upb/message/internal/extension.c +1 -0
- data/third_party/upb/upb/message/internal/message.c +13 -14
- data/third_party/upb/upb/message/internal/message.h +8 -7
- data/third_party/upb/upb/message/merge.c +38 -0
- data/third_party/upb/upb/message/merge.h +26 -0
- data/third_party/upb/upb/message/message.h +6 -10
- data/third_party/upb/upb/message/value.h +26 -0
- data/third_party/upb/upb/mini_descriptor/decode.c +7 -2
- data/third_party/upb/upb/mini_descriptor/link.c +7 -3
- data/third_party/upb/upb/mini_table/extension_registry.c +18 -0
- data/third_party/upb/upb/mini_table/extension_registry.h +17 -0
- data/third_party/upb/upb/mini_table/internal/extension.h +9 -0
- data/third_party/upb/upb/mini_table/internal/message.c +21 -1
- data/third_party/upb/upb/mini_table/internal/message.h +40 -20
- data/third_party/upb/upb/mini_table/internal/sub.h +5 -0
- data/third_party/upb/upb/mini_table/message.h +11 -1
- data/third_party/upb/upb/port/def.inc +99 -9
- data/third_party/upb/upb/port/undef.inc +7 -0
- data/third_party/upb/upb/reflection/common.h +1 -11
- data/third_party/upb/upb/reflection/def.hpp +8 -0
- data/third_party/upb/upb/reflection/descriptor_bootstrap.h +19 -0
- data/third_party/upb/upb/reflection/field_def.c +11 -22
- data/third_party/upb/upb/reflection/field_def.h +1 -0
- data/third_party/upb/upb/reflection/internal/upb_edition_defaults.h +1 -1
- data/third_party/upb/upb/reflection/message.c +8 -3
- data/third_party/upb/upb/reflection/message.h +2 -2
- data/third_party/upb/upb/text/encode.c +51 -394
- data/third_party/upb/upb/text/encode.h +1 -11
- data/third_party/upb/upb/text/internal/encode.c +180 -0
- data/third_party/upb/upb/text/internal/encode.h +240 -0
- data/third_party/upb/upb/text/options.h +22 -0
- data/third_party/upb/upb/wire/decode.c +71 -39
- data/third_party/upb/upb/wire/decode.h +4 -1
- data/third_party/upb/upb/wire/encode.c +41 -18
- data/third_party/upb/upb/wire/encode.h +3 -0
- data/third_party/upb/upb/wire/internal/decode_fast.c +3 -0
- metadata +142 -109
- data/src/core/lib/gprpp/time.cc +0 -241
- data/src/core/resolver/binder/binder_resolver.cc +0 -153
- data/src/core/xds/xds_client/xds_client_stats.cc +0 -164
- data/src/core/xds/xds_client/xds_client_stats.h +0 -258
- data/third_party/abseil-cpp/absl/strings/internal/has_absl_stringify.h +0 -44
- /data/src/core/{lib/gprpp → util}/glob.cc +0 -0
@@ -0,0 +1,1292 @@
|
|
1
|
+
//
|
2
|
+
// Copyright 2018 gRPC authors.
|
3
|
+
//
|
4
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
// you may not use this file except in compliance with the License.
|
6
|
+
// You may obtain a copy of the License at
|
7
|
+
//
|
8
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
//
|
10
|
+
// Unless required by applicable law or agreed to in writing, software
|
11
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
// See the License for the specific language governing permissions and
|
14
|
+
// limitations under the License.
|
15
|
+
//
|
16
|
+
|
17
|
+
#include "src/core/xds/xds_client/lrs_client.h"
|
18
|
+
|
19
|
+
#include <grpc/event_engine/event_engine.h>
|
20
|
+
|
21
|
+
#include <memory>
|
22
|
+
#include <set>
|
23
|
+
#include <string>
|
24
|
+
#include <vector>
|
25
|
+
|
26
|
+
#include "absl/cleanup/cleanup.h"
|
27
|
+
#include "absl/log/check.h"
|
28
|
+
#include "absl/log/log.h"
|
29
|
+
#include "absl/strings/string_view.h"
|
30
|
+
#include "absl/types/optional.h"
|
31
|
+
#include "envoy/config/core/v3/base.upb.h"
|
32
|
+
#include "envoy/config/endpoint/v3/load_report.upb.h"
|
33
|
+
#include "envoy/service/load_stats/v3/lrs.upb.h"
|
34
|
+
#include "envoy/service/load_stats/v3/lrs.upbdefs.h"
|
35
|
+
#include "google/protobuf/duration.upb.h"
|
36
|
+
#include "src/core/lib/debug/trace.h"
|
37
|
+
#include "src/core/lib/iomgr/exec_ctx.h"
|
38
|
+
#include "src/core/util/backoff.h"
|
39
|
+
#include "src/core/util/debug_location.h"
|
40
|
+
#include "src/core/util/env.h"
|
41
|
+
#include "src/core/util/orphanable.h"
|
42
|
+
#include "src/core/util/ref_counted_ptr.h"
|
43
|
+
#include "src/core/util/string.h"
|
44
|
+
#include "src/core/util/sync.h"
|
45
|
+
#include "src/core/util/upb_utils.h"
|
46
|
+
#include "src/core/util/uri.h"
|
47
|
+
#include "src/core/xds/xds_client/xds_api.h"
|
48
|
+
#include "src/core/xds/xds_client/xds_bootstrap.h"
|
49
|
+
#include "src/core/xds/xds_client/xds_locality.h"
|
50
|
+
#include "upb/base/string_view.h"
|
51
|
+
#include "upb/mem/arena.h"
|
52
|
+
#include "upb/reflection/def.h"
|
53
|
+
#include "upb/text/encode.h"
|
54
|
+
|
55
|
+
#define GRPC_XDS_INITIAL_CONNECT_BACKOFF_SECONDS 1
|
56
|
+
#define GRPC_XDS_RECONNECT_BACKOFF_MULTIPLIER 1.6
|
57
|
+
#define GRPC_XDS_RECONNECT_MAX_BACKOFF_SECONDS 120
|
58
|
+
#define GRPC_XDS_RECONNECT_JITTER 0.2
|
59
|
+
#define GRPC_XDS_MIN_CLIENT_LOAD_REPORTING_INTERVAL_MS 1000
|
60
|
+
|
61
|
+
namespace grpc_core {
|
62
|
+
|
63
|
+
using ::grpc_event_engine::experimental::EventEngine;
|
64
|
+
|
65
|
+
// TODO(roth): Remove this once the feature passes interop tests.
|
66
|
+
bool XdsOrcaLrsPropagationChangesEnabled() {
|
67
|
+
auto value = GetEnv("GRPC_EXPERIMENTAL_XDS_ORCA_LRS_PROPAGATION");
|
68
|
+
if (!value.has_value()) return false;
|
69
|
+
bool parsed_value;
|
70
|
+
bool parse_succeeded = gpr_parse_bool_value(value->c_str(), &parsed_value);
|
71
|
+
return parse_succeeded && parsed_value;
|
72
|
+
}
|
73
|
+
|
74
|
+
namespace {
|
75
|
+
|
76
|
+
uint64_t GetAndResetCounter(std::atomic<uint64_t>* from) {
|
77
|
+
return from->exchange(0, std::memory_order_relaxed);
|
78
|
+
}
|
79
|
+
|
80
|
+
} // namespace
|
81
|
+
|
82
|
+
//
|
83
|
+
// LrsClient::ClusterDropStats
|
84
|
+
//
|
85
|
+
|
86
|
+
LrsClient::ClusterDropStats::ClusterDropStats(
|
87
|
+
RefCountedPtr<LrsClient> lrs_client, absl::string_view lrs_server,
|
88
|
+
absl::string_view cluster_name, absl::string_view eds_service_name)
|
89
|
+
: RefCounted(GRPC_TRACE_FLAG_ENABLED(xds_client_refcount)
|
90
|
+
? "ClusterDropStats"
|
91
|
+
: nullptr),
|
92
|
+
lrs_client_(std::move(lrs_client)),
|
93
|
+
lrs_server_(lrs_server),
|
94
|
+
cluster_name_(cluster_name),
|
95
|
+
eds_service_name_(eds_service_name) {
|
96
|
+
GRPC_TRACE_LOG(xds_client, INFO)
|
97
|
+
<< "[lrs_client " << lrs_client_.get() << "] created drop stats " << this
|
98
|
+
<< " for {" << lrs_server_ << ", " << cluster_name_ << ", "
|
99
|
+
<< eds_service_name_ << "}";
|
100
|
+
}
|
101
|
+
|
102
|
+
LrsClient::ClusterDropStats::~ClusterDropStats() {
|
103
|
+
GRPC_TRACE_LOG(xds_client, INFO)
|
104
|
+
<< "[lrs_client " << lrs_client_.get() << "] destroying drop stats "
|
105
|
+
<< this << " for {" << lrs_server_ << ", " << cluster_name_ << ", "
|
106
|
+
<< eds_service_name_ << "}";
|
107
|
+
lrs_client_->RemoveClusterDropStats(lrs_server_, cluster_name_,
|
108
|
+
eds_service_name_, this);
|
109
|
+
lrs_client_.reset(DEBUG_LOCATION, "ClusterDropStats");
|
110
|
+
}
|
111
|
+
|
112
|
+
LrsClient::ClusterDropStats::Snapshot
|
113
|
+
LrsClient::ClusterDropStats::GetSnapshotAndReset() {
|
114
|
+
Snapshot snapshot;
|
115
|
+
snapshot.uncategorized_drops = GetAndResetCounter(&uncategorized_drops_);
|
116
|
+
MutexLock lock(&mu_);
|
117
|
+
snapshot.categorized_drops = std::move(categorized_drops_);
|
118
|
+
return snapshot;
|
119
|
+
}
|
120
|
+
|
121
|
+
void LrsClient::ClusterDropStats::AddUncategorizedDrops() {
|
122
|
+
uncategorized_drops_.fetch_add(1);
|
123
|
+
}
|
124
|
+
|
125
|
+
void LrsClient::ClusterDropStats::AddCallDropped(const std::string& category) {
|
126
|
+
MutexLock lock(&mu_);
|
127
|
+
++categorized_drops_[category];
|
128
|
+
}
|
129
|
+
|
130
|
+
//
|
131
|
+
// LrsClient::ClusterLocalityStats
|
132
|
+
//
|
133
|
+
|
134
|
+
LrsClient::ClusterLocalityStats::ClusterLocalityStats(
|
135
|
+
RefCountedPtr<LrsClient> lrs_client, absl::string_view lrs_server,
|
136
|
+
absl::string_view cluster_name, absl::string_view eds_service_name,
|
137
|
+
RefCountedPtr<XdsLocalityName> name,
|
138
|
+
RefCountedPtr<const BackendMetricPropagation> backend_metric_propagation)
|
139
|
+
: RefCounted(GRPC_TRACE_FLAG_ENABLED(xds_client_refcount)
|
140
|
+
? "ClusterLocalityStats"
|
141
|
+
: nullptr),
|
142
|
+
lrs_client_(std::move(lrs_client)),
|
143
|
+
lrs_server_(lrs_server),
|
144
|
+
cluster_name_(cluster_name),
|
145
|
+
eds_service_name_(eds_service_name),
|
146
|
+
name_(std::move(name)),
|
147
|
+
backend_metric_propagation_(std::move(backend_metric_propagation)) {
|
148
|
+
GRPC_TRACE_LOG(xds_client, INFO)
|
149
|
+
<< "[lrs_client " << lrs_client_.get() << "] created locality stats "
|
150
|
+
<< this << " for {" << lrs_server_ << ", " << cluster_name_ << ", "
|
151
|
+
<< eds_service_name_ << ", "
|
152
|
+
<< (name_ == nullptr ? "<none>" : name_->human_readable_string().c_str())
|
153
|
+
<< ", propagation=" << backend_metric_propagation_->AsString() << "}";
|
154
|
+
}
|
155
|
+
|
156
|
+
LrsClient::ClusterLocalityStats::~ClusterLocalityStats() {
|
157
|
+
GRPC_TRACE_LOG(xds_client, INFO)
|
158
|
+
<< "[lrs_client " << lrs_client_.get() << "] destroying locality stats "
|
159
|
+
<< this << " for {" << lrs_server_ << ", " << cluster_name_ << ", "
|
160
|
+
<< eds_service_name_ << ", "
|
161
|
+
<< (name_ == nullptr ? "<none>" : name_->human_readable_string().c_str())
|
162
|
+
<< ", propagation=" << backend_metric_propagation_->AsString() << "}";
|
163
|
+
lrs_client_->RemoveClusterLocalityStats(lrs_server_, cluster_name_,
|
164
|
+
eds_service_name_, name_,
|
165
|
+
backend_metric_propagation_, this);
|
166
|
+
lrs_client_.reset(DEBUG_LOCATION, "ClusterLocalityStats");
|
167
|
+
}
|
168
|
+
|
169
|
+
LrsClient::ClusterLocalityStats::Snapshot
|
170
|
+
LrsClient::ClusterLocalityStats::GetSnapshotAndReset() {
|
171
|
+
Snapshot snapshot;
|
172
|
+
for (auto& percpu_stats : stats_) {
|
173
|
+
Snapshot percpu_snapshot = {
|
174
|
+
GetAndResetCounter(&percpu_stats.total_successful_requests),
|
175
|
+
// Don't reset total_requests_in_progress because it's
|
176
|
+
// not related to a single reporting interval.
|
177
|
+
percpu_stats.total_requests_in_progress.load(std::memory_order_relaxed),
|
178
|
+
GetAndResetCounter(&percpu_stats.total_error_requests),
|
179
|
+
GetAndResetCounter(&percpu_stats.total_issued_requests),
|
180
|
+
{},
|
181
|
+
{},
|
182
|
+
{},
|
183
|
+
{}};
|
184
|
+
{
|
185
|
+
MutexLock lock(&percpu_stats.backend_metrics_mu);
|
186
|
+
percpu_snapshot.cpu_utilization = std::move(percpu_stats.cpu_utilization);
|
187
|
+
percpu_snapshot.mem_utilization = std::move(percpu_stats.mem_utilization);
|
188
|
+
percpu_snapshot.application_utilization =
|
189
|
+
std::move(percpu_stats.application_utilization);
|
190
|
+
percpu_snapshot.backend_metrics = std::move(percpu_stats.backend_metrics);
|
191
|
+
}
|
192
|
+
snapshot += percpu_snapshot;
|
193
|
+
}
|
194
|
+
return snapshot;
|
195
|
+
}
|
196
|
+
|
197
|
+
void LrsClient::ClusterLocalityStats::AddCallStarted() {
|
198
|
+
Stats& stats = stats_.this_cpu();
|
199
|
+
stats.total_issued_requests.fetch_add(1, std::memory_order_relaxed);
|
200
|
+
stats.total_requests_in_progress.fetch_add(1, std::memory_order_relaxed);
|
201
|
+
}
|
202
|
+
|
203
|
+
void LrsClient::ClusterLocalityStats::AddCallFinished(
|
204
|
+
const BackendMetricData* backend_metrics, bool fail) {
|
205
|
+
Stats& stats = stats_.this_cpu();
|
206
|
+
std::atomic<uint64_t>& to_increment =
|
207
|
+
fail ? stats.total_error_requests : stats.total_successful_requests;
|
208
|
+
to_increment.fetch_add(1, std::memory_order_relaxed);
|
209
|
+
stats.total_requests_in_progress.fetch_add(-1, std::memory_order_acq_rel);
|
210
|
+
if (backend_metrics == nullptr) return;
|
211
|
+
MutexLock lock(&stats.backend_metrics_mu);
|
212
|
+
if (!XdsOrcaLrsPropagationChangesEnabled()) {
|
213
|
+
for (const auto& m : backend_metrics->named_metrics) {
|
214
|
+
stats.backend_metrics[std::string(m.first)] += BackendMetric(1, m.second);
|
215
|
+
}
|
216
|
+
return;
|
217
|
+
}
|
218
|
+
if (backend_metric_propagation_->propagation_bits &
|
219
|
+
BackendMetricPropagation::kCpuUtilization) {
|
220
|
+
stats.cpu_utilization += BackendMetric(1, backend_metrics->cpu_utilization);
|
221
|
+
}
|
222
|
+
if (backend_metric_propagation_->propagation_bits &
|
223
|
+
BackendMetricPropagation::kMemUtilization) {
|
224
|
+
stats.mem_utilization += BackendMetric(1, backend_metrics->mem_utilization);
|
225
|
+
}
|
226
|
+
if (backend_metric_propagation_->propagation_bits &
|
227
|
+
BackendMetricPropagation::kApplicationUtilization) {
|
228
|
+
stats.application_utilization +=
|
229
|
+
BackendMetric(1, backend_metrics->application_utilization);
|
230
|
+
}
|
231
|
+
if (backend_metric_propagation_->propagation_bits &
|
232
|
+
BackendMetricPropagation::kNamedMetricsAll ||
|
233
|
+
!backend_metric_propagation_->named_metric_keys.empty()) {
|
234
|
+
for (const auto& m : backend_metrics->named_metrics) {
|
235
|
+
if (backend_metric_propagation_->propagation_bits &
|
236
|
+
BackendMetricPropagation::kNamedMetricsAll ||
|
237
|
+
backend_metric_propagation_->named_metric_keys.contains(m.first)) {
|
238
|
+
stats.backend_metrics[absl::StrCat("named_metrics.", m.first)] +=
|
239
|
+
BackendMetric(1, m.second);
|
240
|
+
}
|
241
|
+
}
|
242
|
+
}
|
243
|
+
}
|
244
|
+
|
245
|
+
//
|
246
|
+
// Internal class declarations
|
247
|
+
//
|
248
|
+
|
249
|
+
// A call wrapper that can restart a call upon failure.
|
250
|
+
// The template parameter is the kind of wrapped call.
|
251
|
+
// TODO(roth): This is basically the same code as in XdsClient, and
|
252
|
+
// probably very similar to many other places in the codebase.
|
253
|
+
// Consider refactoring this into a common utility library somehow.
|
254
|
+
template <typename T>
|
255
|
+
class LrsClient::LrsChannel::RetryableCall final
|
256
|
+
: public InternallyRefCounted<RetryableCall<T>> {
|
257
|
+
public:
|
258
|
+
explicit RetryableCall(WeakRefCountedPtr<LrsChannel> lrs_channel);
|
259
|
+
|
260
|
+
// Disable thread-safety analysis because this method is called via
|
261
|
+
// OrphanablePtr<>, but there's no way to pass the lock annotation
|
262
|
+
// through there.
|
263
|
+
void Orphan() override ABSL_NO_THREAD_SAFETY_ANALYSIS;
|
264
|
+
|
265
|
+
void OnCallFinishedLocked() ABSL_EXCLUSIVE_LOCKS_REQUIRED(&LrsClient::mu_);
|
266
|
+
|
267
|
+
T* call() const { return call_.get(); }
|
268
|
+
LrsChannel* lrs_channel() const { return lrs_channel_.get(); }
|
269
|
+
|
270
|
+
bool IsCurrentCallOnChannel() const;
|
271
|
+
|
272
|
+
private:
|
273
|
+
void StartNewCallLocked();
|
274
|
+
void StartRetryTimerLocked() ABSL_EXCLUSIVE_LOCKS_REQUIRED(&LrsClient::mu_);
|
275
|
+
|
276
|
+
void OnRetryTimer();
|
277
|
+
|
278
|
+
// The wrapped xds call that talks to the xds server. It's instantiated
|
279
|
+
// every time we start a new call. It's null during call retry backoff.
|
280
|
+
OrphanablePtr<T> call_;
|
281
|
+
// The owning xds channel.
|
282
|
+
WeakRefCountedPtr<LrsChannel> lrs_channel_;
|
283
|
+
|
284
|
+
// Retry state.
|
285
|
+
BackOff backoff_;
|
286
|
+
absl::optional<EventEngine::TaskHandle> timer_handle_
|
287
|
+
ABSL_GUARDED_BY(&LrsClient::mu_);
|
288
|
+
|
289
|
+
bool shutting_down_ = false;
|
290
|
+
};
|
291
|
+
|
292
|
+
// An LRS call to the LRS server.
|
293
|
+
class LrsClient::LrsChannel::LrsCall final
|
294
|
+
: public InternallyRefCounted<LrsCall> {
|
295
|
+
public:
|
296
|
+
// The ctor and dtor should not be used directly.
|
297
|
+
explicit LrsCall(RefCountedPtr<RetryableCall<LrsCall>> retryable_call);
|
298
|
+
|
299
|
+
void Orphan() override;
|
300
|
+
|
301
|
+
RetryableCall<LrsCall>* retryable_call() { return retryable_call_.get(); }
|
302
|
+
LrsChannel* lrs_channel() const { return retryable_call_->lrs_channel(); }
|
303
|
+
LrsClient* lrs_client() const { return lrs_channel()->lrs_client(); }
|
304
|
+
bool seen_response() const { return seen_response_; }
|
305
|
+
|
306
|
+
private:
|
307
|
+
class StreamEventHandler final
|
308
|
+
: public XdsTransportFactory::XdsTransport::StreamingCall::EventHandler {
|
309
|
+
public:
|
310
|
+
explicit StreamEventHandler(RefCountedPtr<LrsCall> lrs_call)
|
311
|
+
: lrs_call_(std::move(lrs_call)) {}
|
312
|
+
|
313
|
+
void OnRequestSent(bool /*ok*/) override { lrs_call_->OnRequestSent(); }
|
314
|
+
void OnRecvMessage(absl::string_view payload) override {
|
315
|
+
lrs_call_->OnRecvMessage(payload);
|
316
|
+
}
|
317
|
+
void OnStatusReceived(absl::Status status) override {
|
318
|
+
lrs_call_->OnStatusReceived(std::move(status));
|
319
|
+
}
|
320
|
+
|
321
|
+
private:
|
322
|
+
RefCountedPtr<LrsCall> lrs_call_;
|
323
|
+
};
|
324
|
+
|
325
|
+
// A repeating timer for a particular duration.
|
326
|
+
class Timer final : public InternallyRefCounted<Timer> {
|
327
|
+
public:
|
328
|
+
explicit Timer(RefCountedPtr<LrsCall> lrs_call)
|
329
|
+
: lrs_call_(std::move(lrs_call)) {}
|
330
|
+
~Timer() override { lrs_call_.reset(DEBUG_LOCATION, "LRS timer"); }
|
331
|
+
|
332
|
+
// Disable thread-safety analysis because this method is called via
|
333
|
+
// OrphanablePtr<>, but there's no way to pass the lock annotation
|
334
|
+
// through there.
|
335
|
+
void Orphan() override ABSL_NO_THREAD_SAFETY_ANALYSIS;
|
336
|
+
|
337
|
+
void ScheduleNextReportLocked()
|
338
|
+
ABSL_EXCLUSIVE_LOCKS_REQUIRED(&LrsClient::mu_);
|
339
|
+
|
340
|
+
private:
|
341
|
+
bool IsCurrentTimerOnCall() const {
|
342
|
+
return this == lrs_call_->timer_.get();
|
343
|
+
}
|
344
|
+
LrsClient* lrs_client() const { return lrs_call_->lrs_client(); }
|
345
|
+
|
346
|
+
void OnNextReportTimer();
|
347
|
+
|
348
|
+
// The owning LRS call.
|
349
|
+
RefCountedPtr<LrsCall> lrs_call_;
|
350
|
+
|
351
|
+
absl::optional<EventEngine::TaskHandle> timer_handle_
|
352
|
+
ABSL_GUARDED_BY(&LrsClient::mu_);
|
353
|
+
};
|
354
|
+
|
355
|
+
void MaybeScheduleNextReportLocked()
|
356
|
+
ABSL_EXCLUSIVE_LOCKS_REQUIRED(&LrsClient::mu_);
|
357
|
+
|
358
|
+
void SendReportLocked() ABSL_EXCLUSIVE_LOCKS_REQUIRED(&LrsClient::mu_);
|
359
|
+
|
360
|
+
void SendMessageLocked(std::string payload)
|
361
|
+
ABSL_EXCLUSIVE_LOCKS_REQUIRED(&LrsClient::mu_);
|
362
|
+
|
363
|
+
void OnRequestSent();
|
364
|
+
void OnRecvMessage(absl::string_view payload);
|
365
|
+
void OnStatusReceived(absl::Status status);
|
366
|
+
|
367
|
+
bool IsCurrentCallOnChannel() const;
|
368
|
+
|
369
|
+
// The owning RetryableCall<>.
|
370
|
+
RefCountedPtr<RetryableCall<LrsCall>> retryable_call_;
|
371
|
+
|
372
|
+
OrphanablePtr<XdsTransportFactory::XdsTransport::StreamingCall>
|
373
|
+
streaming_call_;
|
374
|
+
|
375
|
+
bool seen_response_ = false;
|
376
|
+
bool send_message_pending_ ABSL_GUARDED_BY(&LrsClient::mu_) = false;
|
377
|
+
|
378
|
+
// Load reporting state.
|
379
|
+
bool send_all_clusters_ = false;
|
380
|
+
std::set<std::string> cluster_names_; // Asked for by the LRS server.
|
381
|
+
Duration load_reporting_interval_;
|
382
|
+
bool last_report_counters_were_zero_ = false;
|
383
|
+
OrphanablePtr<Timer> timer_;
|
384
|
+
};
|
385
|
+
|
386
|
+
//
|
387
|
+
// LrsClient::LrsChannel
|
388
|
+
//
|
389
|
+
|
390
|
+
LrsClient::LrsChannel::LrsChannel(
|
391
|
+
WeakRefCountedPtr<LrsClient> lrs_client,
|
392
|
+
std::shared_ptr<const XdsBootstrap::XdsServer> server)
|
393
|
+
: DualRefCounted<LrsChannel>(GRPC_TRACE_FLAG_ENABLED(xds_client_refcount)
|
394
|
+
? "LrsChannel"
|
395
|
+
: nullptr),
|
396
|
+
lrs_client_(std::move(lrs_client)),
|
397
|
+
server_(std::move(server)) {
|
398
|
+
GRPC_TRACE_LOG(xds_client, INFO)
|
399
|
+
<< "[lrs_client " << lrs_client_.get() << "] creating channel " << this
|
400
|
+
<< " for server " << server_->server_uri();
|
401
|
+
absl::Status status;
|
402
|
+
transport_ = lrs_client_->transport_factory_->GetTransport(*server_, &status);
|
403
|
+
CHECK(transport_ != nullptr);
|
404
|
+
if (!status.ok()) {
|
405
|
+
LOG(ERROR) << "Error creating LRS channel to " << server_->server_uri()
|
406
|
+
<< ": " << status;
|
407
|
+
}
|
408
|
+
}
|
409
|
+
|
410
|
+
LrsClient::LrsChannel::~LrsChannel() {
|
411
|
+
GRPC_TRACE_LOG(xds_client, INFO)
|
412
|
+
<< "[lrs_client " << lrs_client() << "] destroying lrs channel " << this
|
413
|
+
<< " for server " << server_->server_uri();
|
414
|
+
lrs_client_.reset(DEBUG_LOCATION, "LrsChannel");
|
415
|
+
}
|
416
|
+
|
417
|
+
// This method should only ever be called when holding the lock, but we can't
|
418
|
+
// use a ABSL_EXCLUSIVE_LOCKS_REQUIRED annotation, because Orphan() will be
|
419
|
+
// called from DualRefCounted::Unref(), which cannot have a lock annotation for
|
420
|
+
// a lock in this subclass.
|
421
|
+
void LrsClient::LrsChannel::Orphaned() ABSL_NO_THREAD_SAFETY_ANALYSIS {
|
422
|
+
GRPC_TRACE_LOG(xds_client, INFO)
|
423
|
+
<< "[lrs_client " << lrs_client() << "] orphaning lrs channel " << this
|
424
|
+
<< " for server " << server_->server_uri();
|
425
|
+
transport_.reset();
|
426
|
+
// At this time, all strong refs are removed, remove from channel map to
|
427
|
+
// prevent subsequent subscription from trying to use this LrsChannel as
|
428
|
+
// it is shutting down.
|
429
|
+
lrs_client_->lrs_channel_map_.erase(server_->Key());
|
430
|
+
lrs_call_.reset();
|
431
|
+
}
|
432
|
+
|
433
|
+
void LrsClient::LrsChannel::ResetBackoff() { transport_->ResetBackoff(); }
|
434
|
+
|
435
|
+
void LrsClient::LrsChannel::MaybeStartLrsCall() {
|
436
|
+
if (lrs_call_ != nullptr) return;
|
437
|
+
lrs_call_ = MakeOrphanable<RetryableCall<LrsCall>>(
|
438
|
+
WeakRef(DEBUG_LOCATION, "LrsCall"));
|
439
|
+
}
|
440
|
+
|
441
|
+
void LrsClient::LrsChannel::StopLrsCallLocked() {
|
442
|
+
lrs_client_->load_report_map_.erase(server_->Key());
|
443
|
+
lrs_call_.reset();
|
444
|
+
}
|
445
|
+
|
446
|
+
//
|
447
|
+
// LrsClient::LrsChannel::RetryableCall<>
|
448
|
+
//
|
449
|
+
|
450
|
+
template <typename T>
|
451
|
+
LrsClient::LrsChannel::RetryableCall<T>::RetryableCall(
|
452
|
+
WeakRefCountedPtr<LrsChannel> lrs_channel)
|
453
|
+
: lrs_channel_(std::move(lrs_channel)),
|
454
|
+
backoff_(BackOff::Options()
|
455
|
+
.set_initial_backoff(Duration::Seconds(
|
456
|
+
GRPC_XDS_INITIAL_CONNECT_BACKOFF_SECONDS))
|
457
|
+
.set_multiplier(GRPC_XDS_RECONNECT_BACKOFF_MULTIPLIER)
|
458
|
+
.set_jitter(GRPC_XDS_RECONNECT_JITTER)
|
459
|
+
.set_max_backoff(Duration::Seconds(
|
460
|
+
GRPC_XDS_RECONNECT_MAX_BACKOFF_SECONDS))) {
|
461
|
+
StartNewCallLocked();
|
462
|
+
}
|
463
|
+
|
464
|
+
template <typename T>
|
465
|
+
void LrsClient::LrsChannel::RetryableCall<T>::Orphan() {
|
466
|
+
shutting_down_ = true;
|
467
|
+
call_.reset();
|
468
|
+
if (timer_handle_.has_value()) {
|
469
|
+
lrs_channel()->lrs_client()->engine()->Cancel(*timer_handle_);
|
470
|
+
timer_handle_.reset();
|
471
|
+
}
|
472
|
+
this->Unref(DEBUG_LOCATION, "RetryableCall+orphaned");
|
473
|
+
}
|
474
|
+
|
475
|
+
template <typename T>
|
476
|
+
void LrsClient::LrsChannel::RetryableCall<T>::OnCallFinishedLocked() {
|
477
|
+
// If we saw a response on the current stream, reset backoff.
|
478
|
+
if (call_->seen_response()) backoff_.Reset();
|
479
|
+
call_.reset();
|
480
|
+
// Start retry timer.
|
481
|
+
StartRetryTimerLocked();
|
482
|
+
}
|
483
|
+
|
484
|
+
template <typename T>
|
485
|
+
void LrsClient::LrsChannel::RetryableCall<T>::StartNewCallLocked() {
|
486
|
+
if (shutting_down_) return;
|
487
|
+
CHECK(lrs_channel_->transport_ != nullptr);
|
488
|
+
CHECK(call_ == nullptr);
|
489
|
+
GRPC_TRACE_LOG(xds_client, INFO)
|
490
|
+
<< "[lrs_client " << lrs_channel()->lrs_client() << "] lrs server "
|
491
|
+
<< lrs_channel()->server_->server_uri()
|
492
|
+
<< ": start new call from retryable call " << this;
|
493
|
+
call_ = MakeOrphanable<T>(
|
494
|
+
this->Ref(DEBUG_LOCATION, "RetryableCall+start_new_call"));
|
495
|
+
}
|
496
|
+
|
497
|
+
template <typename T>
|
498
|
+
void LrsClient::LrsChannel::RetryableCall<T>::StartRetryTimerLocked() {
|
499
|
+
if (shutting_down_) return;
|
500
|
+
const Duration delay = backoff_.NextAttemptDelay();
|
501
|
+
GRPC_TRACE_LOG(xds_client, INFO)
|
502
|
+
<< "[lrs_client " << lrs_channel()->lrs_client() << "] lrs server "
|
503
|
+
<< lrs_channel()->server_->server_uri()
|
504
|
+
<< ": call attempt failed; retry timer will fire in " << delay.millis()
|
505
|
+
<< "ms.";
|
506
|
+
timer_handle_ = lrs_channel()->lrs_client()->engine()->RunAfter(
|
507
|
+
delay,
|
508
|
+
[self = this->Ref(DEBUG_LOCATION, "RetryableCall+retry_timer_start")]() {
|
509
|
+
ApplicationCallbackExecCtx callback_exec_ctx;
|
510
|
+
ExecCtx exec_ctx;
|
511
|
+
self->OnRetryTimer();
|
512
|
+
});
|
513
|
+
}
|
514
|
+
|
515
|
+
template <typename T>
|
516
|
+
void LrsClient::LrsChannel::RetryableCall<T>::OnRetryTimer() {
|
517
|
+
MutexLock lock(&lrs_channel_->lrs_client()->mu_);
|
518
|
+
if (timer_handle_.has_value()) {
|
519
|
+
timer_handle_.reset();
|
520
|
+
if (shutting_down_) return;
|
521
|
+
GRPC_TRACE_LOG(xds_client, INFO)
|
522
|
+
<< "[lrs_client " << lrs_channel()->lrs_client() << "] lrs server "
|
523
|
+
<< lrs_channel()->server_->server_uri()
|
524
|
+
<< ": retry timer fired (retryable call: " << this << ")";
|
525
|
+
StartNewCallLocked();
|
526
|
+
}
|
527
|
+
}
|
528
|
+
|
529
|
+
//
|
530
|
+
// LrsClient::LrsChannel::LrsCall::Timer
|
531
|
+
//
|
532
|
+
|
533
|
+
void LrsClient::LrsChannel::LrsCall::Timer::Orphan() {
|
534
|
+
if (timer_handle_.has_value()) {
|
535
|
+
lrs_client()->engine()->Cancel(*timer_handle_);
|
536
|
+
timer_handle_.reset();
|
537
|
+
}
|
538
|
+
Unref(DEBUG_LOCATION, "Orphan");
|
539
|
+
}
|
540
|
+
|
541
|
+
void LrsClient::LrsChannel::LrsCall::Timer::ScheduleNextReportLocked() {
|
542
|
+
GRPC_TRACE_LOG(xds_client, INFO)
|
543
|
+
<< "[lrs_client " << lrs_client() << "] lrs server "
|
544
|
+
<< lrs_call_->lrs_channel()->server_->server_uri()
|
545
|
+
<< ": scheduling next load report in "
|
546
|
+
<< lrs_call_->load_reporting_interval_;
|
547
|
+
timer_handle_ = lrs_client()->engine()->RunAfter(
|
548
|
+
lrs_call_->load_reporting_interval_,
|
549
|
+
[self = Ref(DEBUG_LOCATION, "timer")]() {
|
550
|
+
ApplicationCallbackExecCtx callback_exec_ctx;
|
551
|
+
ExecCtx exec_ctx;
|
552
|
+
self->OnNextReportTimer();
|
553
|
+
});
|
554
|
+
}
|
555
|
+
|
556
|
+
void LrsClient::LrsChannel::LrsCall::Timer::OnNextReportTimer() {
|
557
|
+
MutexLock lock(&lrs_client()->mu_);
|
558
|
+
timer_handle_.reset();
|
559
|
+
if (IsCurrentTimerOnCall()) lrs_call_->SendReportLocked();
|
560
|
+
}
|
561
|
+
|
562
|
+
//
|
563
|
+
// LrsClient::LrsChannel::LrsCall
|
564
|
+
//
|
565
|
+
|
566
|
+
LrsClient::LrsChannel::LrsCall::LrsCall(
|
567
|
+
RefCountedPtr<RetryableCall<LrsCall>> retryable_call)
|
568
|
+
: InternallyRefCounted<LrsCall>(
|
569
|
+
GRPC_TRACE_FLAG_ENABLED(xds_client_refcount) ? "LrsCall" : nullptr),
|
570
|
+
retryable_call_(std::move(retryable_call)) {
|
571
|
+
// Init the LRS call. Note that the call will progress every time there's
|
572
|
+
// activity in lrs_client()->interested_parties_, which is comprised of
|
573
|
+
// the polling entities from client_channel.
|
574
|
+
CHECK_NE(lrs_client(), nullptr);
|
575
|
+
const char* method =
|
576
|
+
"/envoy.service.load_stats.v3.LoadReportingService/StreamLoadStats";
|
577
|
+
streaming_call_ = lrs_channel()->transport_->CreateStreamingCall(
|
578
|
+
method, std::make_unique<StreamEventHandler>(
|
579
|
+
// Passing the initial ref here. This ref will go away when
|
580
|
+
// the StreamEventHandler is destroyed.
|
581
|
+
RefCountedPtr<LrsCall>(this)));
|
582
|
+
CHECK(streaming_call_ != nullptr);
|
583
|
+
// Start the call.
|
584
|
+
GRPC_TRACE_LOG(xds_client, INFO)
|
585
|
+
<< "[lrs_client " << lrs_client() << "] lrs server "
|
586
|
+
<< lrs_channel()->server_->server_uri()
|
587
|
+
<< ": starting LRS call (lrs_call=" << this
|
588
|
+
<< ", streaming_call=" << streaming_call_.get() << ")";
|
589
|
+
// Send the initial request.
|
590
|
+
std::string serialized_payload = lrs_client()->CreateLrsInitialRequest();
|
591
|
+
SendMessageLocked(std::move(serialized_payload));
|
592
|
+
// Read initial response.
|
593
|
+
streaming_call_->StartRecvMessage();
|
594
|
+
}
|
595
|
+
|
596
|
+
void LrsClient::LrsChannel::LrsCall::Orphan() {
|
597
|
+
timer_.reset();
|
598
|
+
// Note that the initial ref is held by the StreamEventHandler, which
|
599
|
+
// will be destroyed when streaming_call_ is destroyed, which may not happen
|
600
|
+
// here, since there may be other refs held to streaming_call_ by internal
|
601
|
+
// callbacks.
|
602
|
+
streaming_call_.reset();
|
603
|
+
}
|
604
|
+
|
605
|
+
void LrsClient::LrsChannel::LrsCall::MaybeScheduleNextReportLocked() {
|
606
|
+
// If there are no more registered stats to report, cancel the call.
|
607
|
+
auto it = lrs_client()->load_report_map_.find(lrs_channel()->server_->Key());
|
608
|
+
if (it == lrs_client()->load_report_map_.end() ||
|
609
|
+
it->second.load_report_map.empty()) {
|
610
|
+
it->second.lrs_channel->StopLrsCallLocked();
|
611
|
+
return;
|
612
|
+
}
|
613
|
+
// Don't start if the previous send_message op hasn't completed yet.
|
614
|
+
// If this happens, we'll be called again from OnRequestSent().
|
615
|
+
if (send_message_pending_) return;
|
616
|
+
// Don't start if no LRS response has arrived.
|
617
|
+
if (!seen_response()) return;
|
618
|
+
// If there is no timer, create one.
|
619
|
+
// This happens on the initial response and whenever the interval changes.
|
620
|
+
if (timer_ == nullptr) {
|
621
|
+
timer_ = MakeOrphanable<Timer>(Ref(DEBUG_LOCATION, "LRS timer"));
|
622
|
+
}
|
623
|
+
// Schedule the next load report.
|
624
|
+
timer_->ScheduleNextReportLocked();
|
625
|
+
}
|
626
|
+
|
627
|
+
bool LrsClient::LoadReportCountersAreZero(
|
628
|
+
const ClusterLoadReportMap& snapshot) {
|
629
|
+
for (const auto& p : snapshot) {
|
630
|
+
const ClusterLoadReport& cluster_snapshot = p.second;
|
631
|
+
if (!cluster_snapshot.dropped_requests.IsZero()) return false;
|
632
|
+
for (const auto& q : cluster_snapshot.locality_stats) {
|
633
|
+
const ClusterLocalityStats::Snapshot& locality_snapshot = q.second;
|
634
|
+
if (!locality_snapshot.IsZero()) return false;
|
635
|
+
}
|
636
|
+
}
|
637
|
+
return true;
|
638
|
+
}
|
639
|
+
|
640
|
+
void LrsClient::LrsChannel::LrsCall::SendReportLocked() {
|
641
|
+
// Construct snapshot from all reported stats.
|
642
|
+
ClusterLoadReportMap snapshot = lrs_client()->BuildLoadReportSnapshotLocked(
|
643
|
+
*lrs_channel()->server_, send_all_clusters_, cluster_names_);
|
644
|
+
// Skip client load report if the counters were all zero in the last
|
645
|
+
// report and they are still zero in this one.
|
646
|
+
const bool old_val = last_report_counters_were_zero_;
|
647
|
+
last_report_counters_were_zero_ = LoadReportCountersAreZero(snapshot);
|
648
|
+
if (old_val && last_report_counters_were_zero_) {
|
649
|
+
MaybeScheduleNextReportLocked();
|
650
|
+
return;
|
651
|
+
}
|
652
|
+
// Send a request that contains the snapshot.
|
653
|
+
std::string serialized_payload =
|
654
|
+
lrs_client()->CreateLrsRequest(std::move(snapshot));
|
655
|
+
SendMessageLocked(std::move(serialized_payload));
|
656
|
+
}
|
657
|
+
|
658
|
+
void LrsClient::LrsChannel::LrsCall::SendMessageLocked(std::string payload) {
|
659
|
+
send_message_pending_ = true;
|
660
|
+
streaming_call_->SendMessage(std::move(payload));
|
661
|
+
}
|
662
|
+
|
663
|
+
void LrsClient::LrsChannel::LrsCall::OnRequestSent() {
|
664
|
+
MutexLock lock(&lrs_client()->mu_);
|
665
|
+
send_message_pending_ = false;
|
666
|
+
if (IsCurrentCallOnChannel()) MaybeScheduleNextReportLocked();
|
667
|
+
}
|
668
|
+
|
669
|
+
void LrsClient::LrsChannel::LrsCall::OnRecvMessage(absl::string_view payload) {
|
670
|
+
MutexLock lock(&lrs_client()->mu_);
|
671
|
+
// If we're no longer the current call, ignore the result.
|
672
|
+
if (!IsCurrentCallOnChannel()) return;
|
673
|
+
// Start recv after any code branch
|
674
|
+
auto cleanup = absl::MakeCleanup(
|
675
|
+
[call = streaming_call_.get()]() { call->StartRecvMessage(); });
|
676
|
+
// Parse the response.
|
677
|
+
bool send_all_clusters = false;
|
678
|
+
std::set<std::string> new_cluster_names;
|
679
|
+
Duration new_load_reporting_interval;
|
680
|
+
absl::Status status = lrs_client()->ParseLrsResponse(
|
681
|
+
payload, &send_all_clusters, &new_cluster_names,
|
682
|
+
&new_load_reporting_interval);
|
683
|
+
if (!status.ok()) {
|
684
|
+
LOG(ERROR) << "[lrs_client " << lrs_client() << "] lrs server "
|
685
|
+
<< lrs_channel()->server_->server_uri()
|
686
|
+
<< ": LRS response parsing failed: " << status;
|
687
|
+
return;
|
688
|
+
}
|
689
|
+
seen_response_ = true;
|
690
|
+
if (GRPC_TRACE_FLAG_ENABLED(xds_client)) {
|
691
|
+
LOG(INFO) << "[lrs_client " << lrs_client() << "] lrs server "
|
692
|
+
<< lrs_channel()->server_->server_uri()
|
693
|
+
<< ": LRS response received, " << new_cluster_names.size()
|
694
|
+
<< " cluster names, send_all_clusters=" << send_all_clusters
|
695
|
+
<< ", load_report_interval="
|
696
|
+
<< new_load_reporting_interval.millis() << "ms";
|
697
|
+
size_t i = 0;
|
698
|
+
for (const auto& name : new_cluster_names) {
|
699
|
+
LOG(INFO) << "[lrs_client " << lrs_client() << "] cluster_name " << i++
|
700
|
+
<< ": " << name;
|
701
|
+
}
|
702
|
+
}
|
703
|
+
if (new_load_reporting_interval <
|
704
|
+
Duration::Milliseconds(GRPC_XDS_MIN_CLIENT_LOAD_REPORTING_INTERVAL_MS)) {
|
705
|
+
new_load_reporting_interval =
|
706
|
+
Duration::Milliseconds(GRPC_XDS_MIN_CLIENT_LOAD_REPORTING_INTERVAL_MS);
|
707
|
+
GRPC_TRACE_LOG(xds_client, INFO)
|
708
|
+
<< "[lrs_client " << lrs_client() << "] lrs server "
|
709
|
+
<< lrs_channel()->server_->server_uri()
|
710
|
+
<< ": increased load_report_interval to minimum value "
|
711
|
+
<< GRPC_XDS_MIN_CLIENT_LOAD_REPORTING_INTERVAL_MS << "ms";
|
712
|
+
}
|
713
|
+
// Ignore identical update.
|
714
|
+
if (send_all_clusters == send_all_clusters_ &&
|
715
|
+
cluster_names_ == new_cluster_names &&
|
716
|
+
load_reporting_interval_ == new_load_reporting_interval) {
|
717
|
+
GRPC_TRACE_LOG(xds_client, INFO)
|
718
|
+
<< "[lrs_client " << lrs_client() << "] lrs server "
|
719
|
+
<< lrs_channel()->server_->server_uri()
|
720
|
+
<< ": incoming LRS response identical to current, ignoring.";
|
721
|
+
return;
|
722
|
+
}
|
723
|
+
// If the interval has changed, we'll need to restart the timer below.
|
724
|
+
const bool restart_timer =
|
725
|
+
load_reporting_interval_ != new_load_reporting_interval;
|
726
|
+
// Record the new config.
|
727
|
+
send_all_clusters_ = send_all_clusters;
|
728
|
+
cluster_names_ = std::move(new_cluster_names);
|
729
|
+
load_reporting_interval_ = new_load_reporting_interval;
|
730
|
+
// Restart timer if needed.
|
731
|
+
if (restart_timer) {
|
732
|
+
timer_.reset();
|
733
|
+
MaybeScheduleNextReportLocked();
|
734
|
+
}
|
735
|
+
}
|
736
|
+
|
737
|
+
void LrsClient::LrsChannel::LrsCall::OnStatusReceived(absl::Status status) {
|
738
|
+
MutexLock lock(&lrs_client()->mu_);
|
739
|
+
GRPC_TRACE_LOG(xds_client, INFO)
|
740
|
+
<< "[lrs_client " << lrs_client() << "] lrs server "
|
741
|
+
<< lrs_channel()->server_->server_uri()
|
742
|
+
<< ": LRS call status received (lrs_channel=" << lrs_channel()
|
743
|
+
<< ", lrs_call=" << this << ", streaming_call=" << streaming_call_.get()
|
744
|
+
<< "): " << status;
|
745
|
+
// Ignore status from a stale call.
|
746
|
+
if (IsCurrentCallOnChannel()) {
|
747
|
+
// Try to restart the call.
|
748
|
+
retryable_call_->OnCallFinishedLocked();
|
749
|
+
}
|
750
|
+
}
|
751
|
+
|
752
|
+
bool LrsClient::LrsChannel::LrsCall::IsCurrentCallOnChannel() const {
|
753
|
+
// If the retryable LRS call is null (which only happens when the lrs
|
754
|
+
// channel is shutting down), all the LRS calls are stale.
|
755
|
+
if (lrs_channel()->lrs_call_ == nullptr) return false;
|
756
|
+
return this == lrs_channel()->lrs_call_->call();
|
757
|
+
}
|
758
|
+
|
759
|
+
//
|
760
|
+
// LrsClient
|
761
|
+
//
|
762
|
+
|
763
|
+
LrsClient::LrsClient(
|
764
|
+
std::shared_ptr<XdsBootstrap> bootstrap, std::string user_agent_name,
|
765
|
+
std::string user_agent_version,
|
766
|
+
RefCountedPtr<XdsTransportFactory> transport_factory,
|
767
|
+
std::shared_ptr<grpc_event_engine::experimental::EventEngine> engine)
|
768
|
+
: DualRefCounted<LrsClient>(
|
769
|
+
GRPC_TRACE_FLAG_ENABLED(xds_client_refcount) ? "LrsClient" : nullptr),
|
770
|
+
bootstrap_(std::move(bootstrap)),
|
771
|
+
user_agent_name_(std::move(user_agent_name)),
|
772
|
+
user_agent_version_(std::move(user_agent_version)),
|
773
|
+
transport_factory_(std::move(transport_factory)),
|
774
|
+
engine_(std::move(engine)) {
|
775
|
+
GRPC_TRACE_LOG(xds_client, INFO)
|
776
|
+
<< "[lrs_client " << this << "] creating lrs client";
|
777
|
+
}
|
778
|
+
|
779
|
+
LrsClient::~LrsClient() {
|
780
|
+
GRPC_TRACE_LOG(xds_client, INFO)
|
781
|
+
<< "[lrs_client " << this << "] destroying lrs client";
|
782
|
+
}
|
783
|
+
|
784
|
+
void LrsClient::Orphaned() {
|
785
|
+
GRPC_TRACE_LOG(xds_client, INFO)
|
786
|
+
<< "[lrs_client " << this << "] shutting down lrs client";
|
787
|
+
MutexLock lock(&mu_);
|
788
|
+
// We may still be sending lingering queued load report data, so don't
|
789
|
+
// just clear the load reporting map, but we do want to clear the refs
|
790
|
+
// we're holding to the LrsChannel objects, to make sure that
|
791
|
+
// everything shuts down properly.
|
792
|
+
for (auto& p : load_report_map_) {
|
793
|
+
p.second.lrs_channel.reset(DEBUG_LOCATION, "LrsClient::Orphan()");
|
794
|
+
}
|
795
|
+
}
|
796
|
+
|
797
|
+
RefCountedPtr<LrsClient::LrsChannel> LrsClient::GetOrCreateLrsChannelLocked(
|
798
|
+
std::shared_ptr<const XdsBootstrap::XdsServer> server, const char* reason) {
|
799
|
+
std::string key = server->Key();
|
800
|
+
auto it = lrs_channel_map_.find(key);
|
801
|
+
if (it != lrs_channel_map_.end()) {
|
802
|
+
return it->second->Ref(DEBUG_LOCATION, reason);
|
803
|
+
}
|
804
|
+
// Channel not found, so create a new one.
|
805
|
+
auto lrs_channel = MakeRefCounted<LrsChannel>(
|
806
|
+
WeakRef(DEBUG_LOCATION, "LrsChannel"), std::move(server));
|
807
|
+
lrs_channel_map_[std::move(key)] = lrs_channel.get();
|
808
|
+
return lrs_channel;
|
809
|
+
}
|
810
|
+
|
811
|
+
RefCountedPtr<LrsClient::ClusterDropStats> LrsClient::AddClusterDropStats(
|
812
|
+
std::shared_ptr<const XdsBootstrap::XdsServer> lrs_server,
|
813
|
+
absl::string_view cluster_name, absl::string_view eds_service_name) {
|
814
|
+
auto key =
|
815
|
+
std::make_pair(std::string(cluster_name), std::string(eds_service_name));
|
816
|
+
RefCountedPtr<ClusterDropStats> cluster_drop_stats;
|
817
|
+
{
|
818
|
+
MutexLock lock(&mu_);
|
819
|
+
// We jump through some hoops here to make sure that the
|
820
|
+
// absl::string_views stored in the ClusterDropStats object point
|
821
|
+
// to the strings in the load_report_map_ keys, so that
|
822
|
+
// they have the same lifetime.
|
823
|
+
auto server_it =
|
824
|
+
load_report_map_.emplace(lrs_server->Key(), LoadReportServer()).first;
|
825
|
+
if (server_it->second.lrs_channel == nullptr) {
|
826
|
+
server_it->second.lrs_channel = GetOrCreateLrsChannelLocked(
|
827
|
+
lrs_server, "load report map (drop stats)");
|
828
|
+
}
|
829
|
+
auto load_report_it = server_it->second.load_report_map
|
830
|
+
.emplace(std::move(key), LoadReportState())
|
831
|
+
.first;
|
832
|
+
LoadReportState& load_report_state = load_report_it->second;
|
833
|
+
if (load_report_state.drop_stats != nullptr) {
|
834
|
+
cluster_drop_stats = load_report_state.drop_stats->RefIfNonZero();
|
835
|
+
}
|
836
|
+
if (cluster_drop_stats == nullptr) {
|
837
|
+
if (load_report_state.drop_stats != nullptr) {
|
838
|
+
load_report_state.deleted_drop_stats +=
|
839
|
+
load_report_state.drop_stats->GetSnapshotAndReset();
|
840
|
+
}
|
841
|
+
cluster_drop_stats = MakeRefCounted<ClusterDropStats>(
|
842
|
+
Ref(DEBUG_LOCATION, "DropStats"), server_it->first /*lrs_server*/,
|
843
|
+
load_report_it->first.first /*cluster_name*/,
|
844
|
+
load_report_it->first.second /*eds_service_name*/);
|
845
|
+
load_report_state.drop_stats = cluster_drop_stats.get();
|
846
|
+
}
|
847
|
+
server_it->second.lrs_channel->MaybeStartLrsCall();
|
848
|
+
}
|
849
|
+
return cluster_drop_stats;
|
850
|
+
}
|
851
|
+
|
852
|
+
void LrsClient::RemoveClusterDropStats(
|
853
|
+
absl::string_view lrs_server_key, absl::string_view cluster_name,
|
854
|
+
absl::string_view eds_service_name,
|
855
|
+
LrsClient::ClusterDropStats* cluster_drop_stats) {
|
856
|
+
MutexLock lock(&mu_);
|
857
|
+
auto server_it = load_report_map_.find(lrs_server_key);
|
858
|
+
if (server_it == load_report_map_.end()) return;
|
859
|
+
auto load_report_it = server_it->second.load_report_map.find(
|
860
|
+
std::make_pair(std::string(cluster_name), std::string(eds_service_name)));
|
861
|
+
if (load_report_it == server_it->second.load_report_map.end()) return;
|
862
|
+
LoadReportState& load_report_state = load_report_it->second;
|
863
|
+
if (load_report_state.drop_stats == cluster_drop_stats) {
|
864
|
+
// Record final snapshot in deleted_drop_stats, which will be
|
865
|
+
// added to the next load report.
|
866
|
+
load_report_state.deleted_drop_stats +=
|
867
|
+
load_report_state.drop_stats->GetSnapshotAndReset();
|
868
|
+
load_report_state.drop_stats = nullptr;
|
869
|
+
}
|
870
|
+
}
|
871
|
+
|
872
|
+
RefCountedPtr<LrsClient::ClusterLocalityStats>
|
873
|
+
LrsClient::AddClusterLocalityStats(
|
874
|
+
std::shared_ptr<const XdsBootstrap::XdsServer> lrs_server,
|
875
|
+
absl::string_view cluster_name, absl::string_view eds_service_name,
|
876
|
+
RefCountedPtr<XdsLocalityName> locality,
|
877
|
+
RefCountedPtr<const BackendMetricPropagation> backend_metric_propagation) {
|
878
|
+
auto key =
|
879
|
+
std::make_pair(std::string(cluster_name), std::string(eds_service_name));
|
880
|
+
RefCountedPtr<ClusterLocalityStats> cluster_locality_stats;
|
881
|
+
{
|
882
|
+
MutexLock lock(&mu_);
|
883
|
+
// We jump through some hoops here to make sure that the
|
884
|
+
// absl::string_views stored in the ClusterLocalityStats object point
|
885
|
+
// to the strings in the load_report_map_ keys, so that
|
886
|
+
// they have the same lifetime.
|
887
|
+
auto server_it =
|
888
|
+
load_report_map_.emplace(lrs_server->Key(), LoadReportServer()).first;
|
889
|
+
if (server_it->second.lrs_channel == nullptr) {
|
890
|
+
server_it->second.lrs_channel = GetOrCreateLrsChannelLocked(
|
891
|
+
std::move(lrs_server), "load report map (locality stats)");
|
892
|
+
}
|
893
|
+
auto load_report_it = server_it->second.load_report_map
|
894
|
+
.emplace(std::move(key), LoadReportState())
|
895
|
+
.first;
|
896
|
+
LoadReportState& load_report_state = load_report_it->second;
|
897
|
+
LoadReportState::LocalityState& locality_state =
|
898
|
+
load_report_state.locality_stats[locality];
|
899
|
+
ClusterLocalityStats*& locality_stats =
|
900
|
+
locality_state.propagation_stats[backend_metric_propagation];
|
901
|
+
if (locality_stats != nullptr) {
|
902
|
+
cluster_locality_stats = locality_stats->RefIfNonZero();
|
903
|
+
}
|
904
|
+
if (cluster_locality_stats == nullptr) {
|
905
|
+
if (locality_stats != nullptr) {
|
906
|
+
locality_state.deleted_locality_stats +=
|
907
|
+
locality_stats->GetSnapshotAndReset();
|
908
|
+
}
|
909
|
+
cluster_locality_stats = MakeRefCounted<ClusterLocalityStats>(
|
910
|
+
Ref(DEBUG_LOCATION, "LocalityStats"), server_it->first /*lrs_server*/,
|
911
|
+
load_report_it->first.first /*cluster_name*/,
|
912
|
+
load_report_it->first.second /*eds_service_name*/,
|
913
|
+
std::move(locality), std::move(backend_metric_propagation));
|
914
|
+
locality_stats = cluster_locality_stats.get();
|
915
|
+
}
|
916
|
+
server_it->second.lrs_channel->MaybeStartLrsCall();
|
917
|
+
}
|
918
|
+
return cluster_locality_stats;
|
919
|
+
}
|
920
|
+
|
921
|
+
void LrsClient::RemoveClusterLocalityStats(
|
922
|
+
absl::string_view lrs_server_key, absl::string_view cluster_name,
|
923
|
+
absl::string_view eds_service_name,
|
924
|
+
const RefCountedPtr<XdsLocalityName>& locality,
|
925
|
+
const RefCountedPtr<const BackendMetricPropagation>&
|
926
|
+
backend_metric_propagation,
|
927
|
+
ClusterLocalityStats* cluster_locality_stats) {
|
928
|
+
MutexLock lock(&mu_);
|
929
|
+
auto server_it = load_report_map_.find(lrs_server_key);
|
930
|
+
if (server_it == load_report_map_.end()) return;
|
931
|
+
auto load_report_it = server_it->second.load_report_map.find(
|
932
|
+
std::make_pair(std::string(cluster_name), std::string(eds_service_name)));
|
933
|
+
if (load_report_it == server_it->second.load_report_map.end()) return;
|
934
|
+
LoadReportState& load_report_state = load_report_it->second;
|
935
|
+
auto locality_it = load_report_state.locality_stats.find(locality);
|
936
|
+
if (locality_it == load_report_state.locality_stats.end()) return;
|
937
|
+
LoadReportState::LocalityState& locality_state = locality_it->second;
|
938
|
+
auto propagation_it =
|
939
|
+
locality_state.propagation_stats.find(backend_metric_propagation);
|
940
|
+
if (propagation_it == locality_state.propagation_stats.end()) return;
|
941
|
+
ClusterLocalityStats* locality_stats = propagation_it->second;
|
942
|
+
if (locality_stats == cluster_locality_stats) {
|
943
|
+
// Record final snapshot in deleted_locality_stats, which will be
|
944
|
+
// added to the next load report.
|
945
|
+
locality_state.deleted_locality_stats +=
|
946
|
+
locality_stats->GetSnapshotAndReset();
|
947
|
+
locality_state.propagation_stats.erase(propagation_it);
|
948
|
+
}
|
949
|
+
}
|
950
|
+
|
951
|
+
void LrsClient::ResetBackoff() {
|
952
|
+
MutexLock lock(&mu_);
|
953
|
+
for (auto& p : lrs_channel_map_) {
|
954
|
+
p.second->ResetBackoff();
|
955
|
+
}
|
956
|
+
}
|
957
|
+
|
958
|
+
LrsClient::ClusterLoadReportMap LrsClient::BuildLoadReportSnapshotLocked(
|
959
|
+
const XdsBootstrap::XdsServer& lrs_server, bool send_all_clusters,
|
960
|
+
const std::set<std::string>& clusters) {
|
961
|
+
GRPC_TRACE_LOG(xds_client, INFO)
|
962
|
+
<< "[lrs_client " << this << "] start building load report";
|
963
|
+
ClusterLoadReportMap snapshot_map;
|
964
|
+
auto server_it = load_report_map_.find(lrs_server.Key());
|
965
|
+
if (server_it == load_report_map_.end()) return snapshot_map;
|
966
|
+
auto& load_report_map = server_it->second.load_report_map;
|
967
|
+
for (auto load_report_it = load_report_map.begin();
|
968
|
+
load_report_it != load_report_map.end();) {
|
969
|
+
// Cluster key is cluster and EDS service name.
|
970
|
+
const auto& cluster_key = load_report_it->first;
|
971
|
+
LoadReportState& load_report = load_report_it->second;
|
972
|
+
// If the CDS response for a cluster indicates to use LRS but the
|
973
|
+
// LRS server does not say that it wants reports for this cluster,
|
974
|
+
// then we'll have stats objects here whose data we're not going to
|
975
|
+
// include in the load report. However, we still need to clear out
|
976
|
+
// the data from the stats objects, so that if the LRS server starts
|
977
|
+
// asking for the data in the future, we don't incorrectly include
|
978
|
+
// data from previous reporting intervals in that future report.
|
979
|
+
const bool record_stats =
|
980
|
+
send_all_clusters || clusters.find(cluster_key.first) != clusters.end();
|
981
|
+
ClusterLoadReport snapshot;
|
982
|
+
// Aggregate drop stats.
|
983
|
+
snapshot.dropped_requests = std::move(load_report.deleted_drop_stats);
|
984
|
+
if (load_report.drop_stats != nullptr) {
|
985
|
+
snapshot.dropped_requests +=
|
986
|
+
load_report.drop_stats->GetSnapshotAndReset();
|
987
|
+
GRPC_TRACE_LOG(xds_client, INFO)
|
988
|
+
<< "[lrs_client " << this << "] cluster=" << cluster_key.first
|
989
|
+
<< " eds_service_name=" << cluster_key.second
|
990
|
+
<< " drop_stats=" << load_report.drop_stats;
|
991
|
+
}
|
992
|
+
// Aggregate locality stats.
|
993
|
+
for (auto it = load_report.locality_stats.begin();
|
994
|
+
it != load_report.locality_stats.end();) {
|
995
|
+
const RefCountedPtr<XdsLocalityName>& locality_name = it->first;
|
996
|
+
auto& locality_state = it->second;
|
997
|
+
ClusterLocalityStats::Snapshot& locality_snapshot =
|
998
|
+
snapshot.locality_stats[locality_name];
|
999
|
+
locality_snapshot = std::move(locality_state.deleted_locality_stats);
|
1000
|
+
for (const auto& p : locality_state.propagation_stats) {
|
1001
|
+
ClusterLocalityStats* locality_stats = p.second;
|
1002
|
+
if (locality_stats != nullptr) {
|
1003
|
+
locality_snapshot += locality_stats->GetSnapshotAndReset();
|
1004
|
+
GRPC_TRACE_LOG(xds_client, INFO)
|
1005
|
+
<< "[lrs_client " << this
|
1006
|
+
<< "] cluster=" << cluster_key.first.c_str()
|
1007
|
+
<< " eds_service_name=" << cluster_key.second.c_str()
|
1008
|
+
<< " locality=" << locality_name->human_readable_string().c_str()
|
1009
|
+
<< " propagation=" << p.first->AsString()
|
1010
|
+
<< " locality_stats=" << locality_stats;
|
1011
|
+
}
|
1012
|
+
}
|
1013
|
+
// If the only thing left in this entry was final snapshots from
|
1014
|
+
// deleted locality stats objects, remove the entry.
|
1015
|
+
if (locality_state.propagation_stats.empty()) {
|
1016
|
+
it = load_report.locality_stats.erase(it);
|
1017
|
+
} else {
|
1018
|
+
++it;
|
1019
|
+
}
|
1020
|
+
}
|
1021
|
+
// Compute load report interval.
|
1022
|
+
const Timestamp now = Timestamp::Now();
|
1023
|
+
snapshot.load_report_interval = now - load_report.last_report_time;
|
1024
|
+
load_report.last_report_time = now;
|
1025
|
+
// Record snapshot.
|
1026
|
+
if (record_stats) {
|
1027
|
+
snapshot_map[cluster_key] = std::move(snapshot);
|
1028
|
+
}
|
1029
|
+
// If the only thing left in this entry was final snapshots from
|
1030
|
+
// deleted stats objects, remove the entry.
|
1031
|
+
if (load_report.locality_stats.empty() &&
|
1032
|
+
load_report.drop_stats == nullptr) {
|
1033
|
+
load_report_it = load_report_map.erase(load_report_it);
|
1034
|
+
} else {
|
1035
|
+
++load_report_it;
|
1036
|
+
}
|
1037
|
+
}
|
1038
|
+
return snapshot_map;
|
1039
|
+
}
|
1040
|
+
|
1041
|
+
namespace {
|
1042
|
+
|
1043
|
+
struct LrsApiContext {
|
1044
|
+
LrsClient* client;
|
1045
|
+
upb_DefPool* def_pool;
|
1046
|
+
upb_Arena* arena;
|
1047
|
+
};
|
1048
|
+
|
1049
|
+
void MaybeLogLrsRequest(
|
1050
|
+
const LrsApiContext& context,
|
1051
|
+
const envoy_service_load_stats_v3_LoadStatsRequest* request) {
|
1052
|
+
if (GRPC_TRACE_FLAG_ENABLED(xds_client) && ABSL_VLOG_IS_ON(2)) {
|
1053
|
+
const upb_MessageDef* msg_type =
|
1054
|
+
envoy_service_load_stats_v3_LoadStatsRequest_getmsgdef(
|
1055
|
+
context.def_pool);
|
1056
|
+
char buf[10240];
|
1057
|
+
upb_TextEncode(reinterpret_cast<const upb_Message*>(request), msg_type,
|
1058
|
+
nullptr, 0, buf, sizeof(buf));
|
1059
|
+
VLOG(2) << "[lrs_client " << context.client
|
1060
|
+
<< "] constructed LRS request: " << buf;
|
1061
|
+
}
|
1062
|
+
}
|
1063
|
+
|
1064
|
+
std::string SerializeLrsRequest(
|
1065
|
+
const LrsApiContext& context,
|
1066
|
+
const envoy_service_load_stats_v3_LoadStatsRequest* request) {
|
1067
|
+
size_t output_length;
|
1068
|
+
char* output = envoy_service_load_stats_v3_LoadStatsRequest_serialize(
|
1069
|
+
request, context.arena, &output_length);
|
1070
|
+
return std::string(output, output_length);
|
1071
|
+
}
|
1072
|
+
|
1073
|
+
} // namespace
|
1074
|
+
|
1075
|
+
std::string LrsClient::CreateLrsInitialRequest() {
|
1076
|
+
upb::Arena arena;
|
1077
|
+
const LrsApiContext context = {this, def_pool_.ptr(), arena.ptr()};
|
1078
|
+
// Create a request.
|
1079
|
+
envoy_service_load_stats_v3_LoadStatsRequest* request =
|
1080
|
+
envoy_service_load_stats_v3_LoadStatsRequest_new(arena.ptr());
|
1081
|
+
// Populate node.
|
1082
|
+
envoy_config_core_v3_Node* node_msg =
|
1083
|
+
envoy_service_load_stats_v3_LoadStatsRequest_mutable_node(request,
|
1084
|
+
arena.ptr());
|
1085
|
+
PopulateXdsNode(bootstrap_->node(), user_agent_name_, user_agent_version_,
|
1086
|
+
node_msg, arena.ptr());
|
1087
|
+
envoy_config_core_v3_Node_add_client_features(
|
1088
|
+
node_msg,
|
1089
|
+
upb_StringView_FromString("envoy.lrs.supports_send_all_clusters"),
|
1090
|
+
arena.ptr());
|
1091
|
+
MaybeLogLrsRequest(context, request);
|
1092
|
+
return SerializeLrsRequest(context, request);
|
1093
|
+
}
|
1094
|
+
|
1095
|
+
namespace {
|
1096
|
+
|
1097
|
+
void MaybeAddUnnamedMetric(
|
1098
|
+
const LrsApiContext& context,
|
1099
|
+
const LrsClient::ClusterLocalityStats::BackendMetric& backend_metric,
|
1100
|
+
envoy_config_endpoint_v3_UnnamedEndpointLoadMetricStats* (*add_field)(
|
1101
|
+
envoy_config_endpoint_v3_UpstreamLocalityStats*, upb_Arena*),
|
1102
|
+
envoy_config_endpoint_v3_UpstreamLocalityStats* output) {
|
1103
|
+
if (backend_metric.IsZero()) return;
|
1104
|
+
auto* metric_proto = add_field(output, context.arena);
|
1105
|
+
envoy_config_endpoint_v3_UnnamedEndpointLoadMetricStats_set_num_requests_finished_with_metric(
|
1106
|
+
metric_proto, backend_metric.num_requests_finished_with_metric);
|
1107
|
+
envoy_config_endpoint_v3_UnnamedEndpointLoadMetricStats_set_total_metric_value(
|
1108
|
+
metric_proto, backend_metric.total_metric_value);
|
1109
|
+
}
|
1110
|
+
|
1111
|
+
void LocalityStatsPopulate(
|
1112
|
+
const LrsApiContext& context,
|
1113
|
+
envoy_config_endpoint_v3_UpstreamLocalityStats* output,
|
1114
|
+
const XdsLocalityName& locality_name,
|
1115
|
+
const LrsClient::ClusterLocalityStats::Snapshot& snapshot) {
|
1116
|
+
// Set locality.
|
1117
|
+
envoy_config_core_v3_Locality* locality =
|
1118
|
+
envoy_config_endpoint_v3_UpstreamLocalityStats_mutable_locality(
|
1119
|
+
output, context.arena);
|
1120
|
+
if (!locality_name.region().empty()) {
|
1121
|
+
envoy_config_core_v3_Locality_set_region(
|
1122
|
+
locality, StdStringToUpbString(locality_name.region()));
|
1123
|
+
}
|
1124
|
+
if (!locality_name.zone().empty()) {
|
1125
|
+
envoy_config_core_v3_Locality_set_zone(
|
1126
|
+
locality, StdStringToUpbString(locality_name.zone()));
|
1127
|
+
}
|
1128
|
+
if (!locality_name.sub_zone().empty()) {
|
1129
|
+
envoy_config_core_v3_Locality_set_sub_zone(
|
1130
|
+
locality, StdStringToUpbString(locality_name.sub_zone()));
|
1131
|
+
}
|
1132
|
+
// Set total counts.
|
1133
|
+
envoy_config_endpoint_v3_UpstreamLocalityStats_set_total_successful_requests(
|
1134
|
+
output, snapshot.total_successful_requests);
|
1135
|
+
envoy_config_endpoint_v3_UpstreamLocalityStats_set_total_requests_in_progress(
|
1136
|
+
output, snapshot.total_requests_in_progress);
|
1137
|
+
envoy_config_endpoint_v3_UpstreamLocalityStats_set_total_error_requests(
|
1138
|
+
output, snapshot.total_error_requests);
|
1139
|
+
envoy_config_endpoint_v3_UpstreamLocalityStats_set_total_issued_requests(
|
1140
|
+
output, snapshot.total_issued_requests);
|
1141
|
+
// Add backend metrics.
|
1142
|
+
MaybeAddUnnamedMetric(
|
1143
|
+
context, snapshot.cpu_utilization,
|
1144
|
+
envoy_config_endpoint_v3_UpstreamLocalityStats_mutable_cpu_utilization,
|
1145
|
+
output);
|
1146
|
+
MaybeAddUnnamedMetric(
|
1147
|
+
context, snapshot.mem_utilization,
|
1148
|
+
envoy_config_endpoint_v3_UpstreamLocalityStats_mutable_mem_utilization,
|
1149
|
+
output);
|
1150
|
+
MaybeAddUnnamedMetric(
|
1151
|
+
context, snapshot.application_utilization,
|
1152
|
+
envoy_config_endpoint_v3_UpstreamLocalityStats_mutable_application_utilization,
|
1153
|
+
output);
|
1154
|
+
for (const auto& p : snapshot.backend_metrics) {
|
1155
|
+
const std::string& metric_name = p.first;
|
1156
|
+
const LrsClient::ClusterLocalityStats::BackendMetric& metric_value =
|
1157
|
+
p.second;
|
1158
|
+
envoy_config_endpoint_v3_EndpointLoadMetricStats* load_metric =
|
1159
|
+
envoy_config_endpoint_v3_UpstreamLocalityStats_add_load_metric_stats(
|
1160
|
+
output, context.arena);
|
1161
|
+
envoy_config_endpoint_v3_EndpointLoadMetricStats_set_metric_name(
|
1162
|
+
load_metric, StdStringToUpbString(metric_name));
|
1163
|
+
envoy_config_endpoint_v3_EndpointLoadMetricStats_set_num_requests_finished_with_metric(
|
1164
|
+
load_metric, metric_value.num_requests_finished_with_metric);
|
1165
|
+
envoy_config_endpoint_v3_EndpointLoadMetricStats_set_total_metric_value(
|
1166
|
+
load_metric, metric_value.total_metric_value);
|
1167
|
+
}
|
1168
|
+
}
|
1169
|
+
|
1170
|
+
} // namespace
|
1171
|
+
|
1172
|
+
std::string LrsClient::CreateLrsRequest(
|
1173
|
+
ClusterLoadReportMap cluster_load_report_map) {
|
1174
|
+
upb::Arena arena;
|
1175
|
+
const LrsApiContext context = {this, def_pool_.ptr(), arena.ptr()};
|
1176
|
+
// Create a request.
|
1177
|
+
envoy_service_load_stats_v3_LoadStatsRequest* request =
|
1178
|
+
envoy_service_load_stats_v3_LoadStatsRequest_new(arena.ptr());
|
1179
|
+
for (auto& p : cluster_load_report_map) {
|
1180
|
+
const std::string& cluster_name = p.first.first;
|
1181
|
+
const std::string& eds_service_name = p.first.second;
|
1182
|
+
const ClusterLoadReport& load_report = p.second;
|
1183
|
+
// Add cluster stats.
|
1184
|
+
envoy_config_endpoint_v3_ClusterStats* cluster_stats =
|
1185
|
+
envoy_service_load_stats_v3_LoadStatsRequest_add_cluster_stats(
|
1186
|
+
request, arena.ptr());
|
1187
|
+
// Set the cluster name.
|
1188
|
+
envoy_config_endpoint_v3_ClusterStats_set_cluster_name(
|
1189
|
+
cluster_stats, StdStringToUpbString(cluster_name));
|
1190
|
+
// Set EDS service name, if non-empty.
|
1191
|
+
if (!eds_service_name.empty()) {
|
1192
|
+
envoy_config_endpoint_v3_ClusterStats_set_cluster_service_name(
|
1193
|
+
cluster_stats, StdStringToUpbString(eds_service_name));
|
1194
|
+
}
|
1195
|
+
// Add locality stats.
|
1196
|
+
for (const auto& p : load_report.locality_stats) {
|
1197
|
+
const XdsLocalityName& locality_name = *p.first;
|
1198
|
+
const auto& snapshot = p.second;
|
1199
|
+
envoy_config_endpoint_v3_UpstreamLocalityStats* locality_stats =
|
1200
|
+
envoy_config_endpoint_v3_ClusterStats_add_upstream_locality_stats(
|
1201
|
+
cluster_stats, arena.ptr());
|
1202
|
+
LocalityStatsPopulate(context, locality_stats, locality_name, snapshot);
|
1203
|
+
}
|
1204
|
+
// Add dropped requests.
|
1205
|
+
uint64_t total_dropped_requests = 0;
|
1206
|
+
for (const auto& p : load_report.dropped_requests.categorized_drops) {
|
1207
|
+
const std::string& category = p.first;
|
1208
|
+
const uint64_t count = p.second;
|
1209
|
+
envoy_config_endpoint_v3_ClusterStats_DroppedRequests* dropped_requests =
|
1210
|
+
envoy_config_endpoint_v3_ClusterStats_add_dropped_requests(
|
1211
|
+
cluster_stats, arena.ptr());
|
1212
|
+
envoy_config_endpoint_v3_ClusterStats_DroppedRequests_set_category(
|
1213
|
+
dropped_requests, StdStringToUpbString(category));
|
1214
|
+
envoy_config_endpoint_v3_ClusterStats_DroppedRequests_set_dropped_count(
|
1215
|
+
dropped_requests, count);
|
1216
|
+
total_dropped_requests += count;
|
1217
|
+
}
|
1218
|
+
total_dropped_requests += load_report.dropped_requests.uncategorized_drops;
|
1219
|
+
// Set total dropped requests.
|
1220
|
+
envoy_config_endpoint_v3_ClusterStats_set_total_dropped_requests(
|
1221
|
+
cluster_stats, total_dropped_requests);
|
1222
|
+
// Set real load report interval.
|
1223
|
+
gpr_timespec timespec = load_report.load_report_interval.as_timespec();
|
1224
|
+
google_protobuf_Duration* load_report_interval =
|
1225
|
+
envoy_config_endpoint_v3_ClusterStats_mutable_load_report_interval(
|
1226
|
+
cluster_stats, arena.ptr());
|
1227
|
+
google_protobuf_Duration_set_seconds(load_report_interval, timespec.tv_sec);
|
1228
|
+
google_protobuf_Duration_set_nanos(load_report_interval, timespec.tv_nsec);
|
1229
|
+
}
|
1230
|
+
MaybeLogLrsRequest(context, request);
|
1231
|
+
return SerializeLrsRequest(context, request);
|
1232
|
+
}
|
1233
|
+
|
1234
|
+
namespace {
|
1235
|
+
|
1236
|
+
void MaybeLogLrsResponse(
|
1237
|
+
const LrsApiContext& context,
|
1238
|
+
const envoy_service_load_stats_v3_LoadStatsResponse* response) {
|
1239
|
+
if (GRPC_TRACE_FLAG_ENABLED(xds_client) && ABSL_VLOG_IS_ON(2)) {
|
1240
|
+
const upb_MessageDef* msg_type =
|
1241
|
+
envoy_service_load_stats_v3_LoadStatsResponse_getmsgdef(
|
1242
|
+
context.def_pool);
|
1243
|
+
char buf[10240];
|
1244
|
+
upb_TextEncode(reinterpret_cast<const upb_Message*>(response), msg_type,
|
1245
|
+
nullptr, 0, buf, sizeof(buf));
|
1246
|
+
VLOG(2) << "[lrs_client " << context.client
|
1247
|
+
<< "] received LRS response: " << buf;
|
1248
|
+
}
|
1249
|
+
}
|
1250
|
+
|
1251
|
+
} // namespace
|
1252
|
+
|
1253
|
+
absl::Status LrsClient::ParseLrsResponse(absl::string_view encoded_response,
|
1254
|
+
bool* send_all_clusters,
|
1255
|
+
std::set<std::string>* cluster_names,
|
1256
|
+
Duration* load_reporting_interval) {
|
1257
|
+
upb::Arena arena;
|
1258
|
+
// Decode the response.
|
1259
|
+
const envoy_service_load_stats_v3_LoadStatsResponse* decoded_response =
|
1260
|
+
envoy_service_load_stats_v3_LoadStatsResponse_parse(
|
1261
|
+
encoded_response.data(), encoded_response.size(), arena.ptr());
|
1262
|
+
// Parse the response.
|
1263
|
+
if (decoded_response == nullptr) {
|
1264
|
+
return absl::UnavailableError("Can't decode response.");
|
1265
|
+
}
|
1266
|
+
const LrsApiContext context = {this, def_pool_.ptr(), arena.ptr()};
|
1267
|
+
MaybeLogLrsResponse(context, decoded_response);
|
1268
|
+
// Check send_all_clusters.
|
1269
|
+
if (envoy_service_load_stats_v3_LoadStatsResponse_send_all_clusters(
|
1270
|
+
decoded_response)) {
|
1271
|
+
*send_all_clusters = true;
|
1272
|
+
} else {
|
1273
|
+
// Store the cluster names.
|
1274
|
+
size_t size;
|
1275
|
+
const upb_StringView* clusters =
|
1276
|
+
envoy_service_load_stats_v3_LoadStatsResponse_clusters(decoded_response,
|
1277
|
+
&size);
|
1278
|
+
for (size_t i = 0; i < size; ++i) {
|
1279
|
+
cluster_names->emplace(UpbStringToStdString(clusters[i]));
|
1280
|
+
}
|
1281
|
+
}
|
1282
|
+
// Get the load report interval.
|
1283
|
+
const google_protobuf_Duration* load_reporting_interval_duration =
|
1284
|
+
envoy_service_load_stats_v3_LoadStatsResponse_load_reporting_interval(
|
1285
|
+
decoded_response);
|
1286
|
+
*load_reporting_interval = Duration::FromSecondsAndNanoseconds(
|
1287
|
+
google_protobuf_Duration_seconds(load_reporting_interval_duration),
|
1288
|
+
google_protobuf_Duration_nanos(load_reporting_interval_duration));
|
1289
|
+
return absl::OkStatus();
|
1290
|
+
}
|
1291
|
+
|
1292
|
+
} // namespace grpc_core
|