|
|
|
@ -22,11 +22,6 @@ |
|
|
|
|
|
|
|
|
|
#if defined(GRPC_CFSTREAM) |
|
|
|
|
namespace { |
|
|
|
|
const char* const description_call_status_override_on_cancellation = |
|
|
|
|
"Avoid overriding call status of successfully finished calls if it races " |
|
|
|
|
"with cancellation."; |
|
|
|
|
const char* const additional_constraints_call_status_override_on_cancellation = |
|
|
|
|
"{}"; |
|
|
|
|
const char* const description_call_tracer_in_transport = |
|
|
|
|
"Transport directly passes byte counts to CallTracer."; |
|
|
|
|
const char* const additional_constraints_call_tracer_in_transport = "{}"; |
|
|
|
@ -58,11 +53,6 @@ const char* const additional_constraints_monitoring_experiment = "{}"; |
|
|
|
|
const char* const description_multiping = |
|
|
|
|
"Allow more than one ping to be in flight at a time by default."; |
|
|
|
|
const char* const additional_constraints_multiping = "{}"; |
|
|
|
|
const char* const description_peer_state_based_framing = |
|
|
|
|
"If set, the max sizes of frames sent to lower layers is controlled based " |
|
|
|
|
"on the peer's memory pressure which is reflected in its max http2 frame " |
|
|
|
|
"size."; |
|
|
|
|
const char* const additional_constraints_peer_state_based_framing = "{}"; |
|
|
|
|
const char* const description_pick_first_new = |
|
|
|
|
"New pick_first impl with memory reduction."; |
|
|
|
|
const char* const additional_constraints_pick_first_new = "{}"; |
|
|
|
@ -105,10 +95,6 @@ const char* const additional_constraints_work_serializer_dispatch = "{}"; |
|
|
|
|
namespace grpc_core { |
|
|
|
|
|
|
|
|
|
const ExperimentMetadata g_experiment_metadata[] = { |
|
|
|
|
{"call_status_override_on_cancellation", |
|
|
|
|
description_call_status_override_on_cancellation, |
|
|
|
|
additional_constraints_call_status_override_on_cancellation, nullptr, 0, |
|
|
|
|
true, true}, |
|
|
|
|
{"call_tracer_in_transport", description_call_tracer_in_transport, |
|
|
|
|
additional_constraints_call_tracer_in_transport, nullptr, 0, true, true}, |
|
|
|
|
{"canary_client_privacy", description_canary_client_privacy, |
|
|
|
@ -130,8 +116,6 @@ const ExperimentMetadata g_experiment_metadata[] = { |
|
|
|
|
additional_constraints_monitoring_experiment, nullptr, 0, true, true}, |
|
|
|
|
{"multiping", description_multiping, additional_constraints_multiping, |
|
|
|
|
nullptr, 0, false, true}, |
|
|
|
|
{"peer_state_based_framing", description_peer_state_based_framing, |
|
|
|
|
additional_constraints_peer_state_based_framing, nullptr, 0, false, true}, |
|
|
|
|
{"pick_first_new", description_pick_first_new, |
|
|
|
|
additional_constraints_pick_first_new, nullptr, 0, true, true}, |
|
|
|
|
{"promise_based_inproc_transport", |
|
|
|
@ -166,11 +150,6 @@ const ExperimentMetadata g_experiment_metadata[] = { |
|
|
|
|
|
|
|
|
|
#elif defined(GPR_WINDOWS) |
|
|
|
|
namespace { |
|
|
|
|
const char* const description_call_status_override_on_cancellation = |
|
|
|
|
"Avoid overriding call status of successfully finished calls if it races " |
|
|
|
|
"with cancellation."; |
|
|
|
|
const char* const additional_constraints_call_status_override_on_cancellation = |
|
|
|
|
"{}"; |
|
|
|
|
const char* const description_call_tracer_in_transport = |
|
|
|
|
"Transport directly passes byte counts to CallTracer."; |
|
|
|
|
const char* const additional_constraints_call_tracer_in_transport = "{}"; |
|
|
|
@ -202,11 +181,6 @@ const char* const additional_constraints_monitoring_experiment = "{}"; |
|
|
|
|
const char* const description_multiping = |
|
|
|
|
"Allow more than one ping to be in flight at a time by default."; |
|
|
|
|
const char* const additional_constraints_multiping = "{}"; |
|
|
|
|
const char* const description_peer_state_based_framing = |
|
|
|
|
"If set, the max sizes of frames sent to lower layers is controlled based " |
|
|
|
|
"on the peer's memory pressure which is reflected in its max http2 frame " |
|
|
|
|
"size."; |
|
|
|
|
const char* const additional_constraints_peer_state_based_framing = "{}"; |
|
|
|
|
const char* const description_pick_first_new = |
|
|
|
|
"New pick_first impl with memory reduction."; |
|
|
|
|
const char* const additional_constraints_pick_first_new = "{}"; |
|
|
|
@ -249,10 +223,6 @@ const char* const additional_constraints_work_serializer_dispatch = "{}"; |
|
|
|
|
namespace grpc_core { |
|
|
|
|
|
|
|
|
|
const ExperimentMetadata g_experiment_metadata[] = { |
|
|
|
|
{"call_status_override_on_cancellation", |
|
|
|
|
description_call_status_override_on_cancellation, |
|
|
|
|
additional_constraints_call_status_override_on_cancellation, nullptr, 0, |
|
|
|
|
true, true}, |
|
|
|
|
{"call_tracer_in_transport", description_call_tracer_in_transport, |
|
|
|
|
additional_constraints_call_tracer_in_transport, nullptr, 0, true, true}, |
|
|
|
|
{"canary_client_privacy", description_canary_client_privacy, |
|
|
|
@ -274,8 +244,6 @@ const ExperimentMetadata g_experiment_metadata[] = { |
|
|
|
|
additional_constraints_monitoring_experiment, nullptr, 0, true, true}, |
|
|
|
|
{"multiping", description_multiping, additional_constraints_multiping, |
|
|
|
|
nullptr, 0, false, true}, |
|
|
|
|
{"peer_state_based_framing", description_peer_state_based_framing, |
|
|
|
|
additional_constraints_peer_state_based_framing, nullptr, 0, false, true}, |
|
|
|
|
{"pick_first_new", description_pick_first_new, |
|
|
|
|
additional_constraints_pick_first_new, nullptr, 0, true, true}, |
|
|
|
|
{"promise_based_inproc_transport", |
|
|
|
@ -310,11 +278,6 @@ const ExperimentMetadata g_experiment_metadata[] = { |
|
|
|
|
|
|
|
|
|
#else |
|
|
|
|
namespace { |
|
|
|
|
const char* const description_call_status_override_on_cancellation = |
|
|
|
|
"Avoid overriding call status of successfully finished calls if it races " |
|
|
|
|
"with cancellation."; |
|
|
|
|
const char* const additional_constraints_call_status_override_on_cancellation = |
|
|
|
|
"{}"; |
|
|
|
|
const char* const description_call_tracer_in_transport = |
|
|
|
|
"Transport directly passes byte counts to CallTracer."; |
|
|
|
|
const char* const additional_constraints_call_tracer_in_transport = "{}"; |
|
|
|
@ -346,11 +309,6 @@ const char* const additional_constraints_monitoring_experiment = "{}"; |
|
|
|
|
const char* const description_multiping = |
|
|
|
|
"Allow more than one ping to be in flight at a time by default."; |
|
|
|
|
const char* const additional_constraints_multiping = "{}"; |
|
|
|
|
const char* const description_peer_state_based_framing = |
|
|
|
|
"If set, the max sizes of frames sent to lower layers is controlled based " |
|
|
|
|
"on the peer's memory pressure which is reflected in its max http2 frame " |
|
|
|
|
"size."; |
|
|
|
|
const char* const additional_constraints_peer_state_based_framing = "{}"; |
|
|
|
|
const char* const description_pick_first_new = |
|
|
|
|
"New pick_first impl with memory reduction."; |
|
|
|
|
const char* const additional_constraints_pick_first_new = "{}"; |
|
|
|
@ -393,10 +351,6 @@ const char* const additional_constraints_work_serializer_dispatch = "{}"; |
|
|
|
|
namespace grpc_core { |
|
|
|
|
|
|
|
|
|
const ExperimentMetadata g_experiment_metadata[] = { |
|
|
|
|
{"call_status_override_on_cancellation", |
|
|
|
|
description_call_status_override_on_cancellation, |
|
|
|
|
additional_constraints_call_status_override_on_cancellation, nullptr, 0, |
|
|
|
|
true, true}, |
|
|
|
|
{"call_tracer_in_transport", description_call_tracer_in_transport, |
|
|
|
|
additional_constraints_call_tracer_in_transport, nullptr, 0, true, true}, |
|
|
|
|
{"canary_client_privacy", description_canary_client_privacy, |
|
|
|
@ -418,8 +372,6 @@ const ExperimentMetadata g_experiment_metadata[] = { |
|
|
|
|
additional_constraints_monitoring_experiment, nullptr, 0, true, true}, |
|
|
|
|
{"multiping", description_multiping, additional_constraints_multiping, |
|
|
|
|
nullptr, 0, false, true}, |
|
|
|
|
{"peer_state_based_framing", description_peer_state_based_framing, |
|
|
|
|
additional_constraints_peer_state_based_framing, nullptr, 0, false, true}, |
|
|
|
|
{"pick_first_new", description_pick_first_new, |
|
|
|
|
additional_constraints_pick_first_new, nullptr, 0, true, true}, |
|
|
|
|
{"promise_based_inproc_transport", |
|
|
|
|