Skip to content

Commit d89a6db

Browse files
ianswettcopybara-github
authored andcommitted
Deprecate --gfe2_reloadable_flag_quic_bbr2_probe_two_rounds.
PiperOrigin-RevId: 852807862
1 parent bbbd816 commit d89a6db

File tree

4 files changed

+2
-12
lines changed

4 files changed

+2
-12
lines changed

quiche/common/quiche_feature_flags_list.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ QUICHE_FLAG(bool, quiche_reloadable_flag_quic_add_stream_info_to_idle_close_deta
1414
QUICHE_FLAG(bool, quiche_reloadable_flag_quic_allow_client_enabled_bbr_v2, true, true, "If true, allow client to enable BBRv2 on server via connection option 'B2ON'.")
1515
QUICHE_FLAG(bool, quiche_reloadable_flag_quic_bandwidth_sampler_guard_rtt_subtraction, false, false, "When true, BandwidthSampler::OnPacketAcknowledgedInner() will return early rather than compute a negative RTT.")
1616
QUICHE_FLAG(bool, quiche_reloadable_flag_quic_bbr2_extra_acked_window, false, true, "When true, the BBR4 copt sets the extra_acked window to 20 RTTs and BBR5 sets it to 40 RTTs.")
17-
QUICHE_FLAG(bool, quiche_reloadable_flag_quic_bbr2_probe_two_rounds, true, true, "When true, the BB2U copt causes BBR2 to wait two rounds with out draining the queue before exiting PROBE_UP and BB2S has the same effect in STARTUP.")
1817
QUICHE_FLAG(bool, quiche_reloadable_flag_quic_bbr_always_exit_startup_on_loss, false, false, "Lets BBRv1 exit STARTUP if a large number of packets was lost even if there is no non-app-limited samples. Similar to applying connection option B1AL to all connection.")
1918
QUICHE_FLAG(bool, quiche_reloadable_flag_quic_bbr_exit_startup_on_loss, false, false, "Enables negotiation of a connection option (B1AL) that lets BBRv1 exit STARTUP if a large number of packets was lost even if there is no non-app-limited sample.")
2019
QUICHE_FLAG(bool, quiche_reloadable_flag_quic_block_until_settings_received_copt, true, true, "If enabled and a BSUS connection is received, blocks server connections until SETTINGS frame is received.")

quiche/quic/core/congestion_control/bbr2_probe_bw.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,6 @@ void Bbr2ProbeBwMode::UpdateProbeUp(
466466
Params().full_bw_threshold);
467467
if (model_->rounds_with_queueing() >=
468468
Params().max_probe_up_queue_rounds) {
469-
QUIC_RELOADABLE_FLAG_COUNT_N(quic_bbr2_probe_two_rounds, 3, 3);
470469
is_queuing = true;
471470
}
472471
}

quiche/quic/core/congestion_control/bbr2_sender.cc

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -206,14 +206,10 @@ void Bbr2Sender::ApplyConnectionOptions(
206206
// so ensure we're not ignoring it.
207207
params_.probe_up_ignore_inflight_hi = false;
208208
}
209-
if (GetQuicReloadableFlag(quic_bbr2_probe_two_rounds) &&
210-
ContainsQuicTag(connection_options, kBB2U)) {
211-
QUIC_RELOADABLE_FLAG_COUNT_N(quic_bbr2_probe_two_rounds, 1, 3);
209+
if (ContainsQuicTag(connection_options, kBB2U)) {
212210
params_.max_probe_up_queue_rounds = 2;
213211
}
214-
if (GetQuicReloadableFlag(quic_bbr2_probe_two_rounds) &&
215-
ContainsQuicTag(connection_options, kBB2S)) {
216-
QUIC_RELOADABLE_FLAG_COUNT_N(quic_bbr2_probe_two_rounds, 2, 3);
212+
if (ContainsQuicTag(connection_options, kBB2S)) {
217213
params_.max_startup_queue_rounds = 2;
218214
}
219215
}

quiche/quic/core/congestion_control/bbr2_simulator_test.cc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,6 @@ TEST_F(Bbr2DefaultTopologyTest, NormalStartupB207andB205) {
451451

452452
// Add extra_acked to CWND in STARTUP and exit STARTUP on a persistent queue.
453453
TEST_F(Bbr2DefaultTopologyTest, NormalStartupBB2S) {
454-
SetQuicReloadableFlag(quic_bbr2_probe_two_rounds, true);
455454
SetConnectionOption(kBB2S);
456455
DefaultTopologyParams params;
457456
CreateNetwork(params);
@@ -1282,7 +1281,6 @@ TEST_F(Bbr2DefaultTopologyTest,
12821281

12831282
// Test Bbr2's reaction to a 100x bandwidth increase during a transfer with BB2U
12841283
TEST_F(Bbr2DefaultTopologyTest, QUIC_SLOW_TEST(BandwidthIncreaseBB2U)) {
1285-
SetQuicReloadableFlag(quic_bbr2_probe_two_rounds, true);
12861284
SetConnectionOption(kBB2U);
12871285
DefaultTopologyParams params;
12881286
params.local_link.bandwidth = QuicBandwidth::FromKBitsPerSecond(15000);
@@ -1316,7 +1314,6 @@ TEST_F(Bbr2DefaultTopologyTest, QUIC_SLOW_TEST(BandwidthIncreaseBB2U)) {
13161314
// in the presence of ACK aggregation.
13171315
TEST_F(Bbr2DefaultTopologyTest,
13181316
QUIC_SLOW_TEST(BandwidthIncreaseBB2UAggregation)) {
1319-
SetQuicReloadableFlag(quic_bbr2_probe_two_rounds, true);
13201317
SetConnectionOption(kBB2U);
13211318
DefaultTopologyParams params;
13221319
params.local_link.bandwidth = QuicBandwidth::FromKBitsPerSecond(15000);
@@ -1356,7 +1353,6 @@ TEST_F(Bbr2DefaultTopologyTest,
13561353
// and BBHI in the presence of ACK aggregation.
13571354
TEST_F(Bbr2DefaultTopologyTest,
13581355
QUIC_SLOW_TEST(BandwidthIncreaseBB2UandBBHIAggregation)) {
1359-
SetQuicReloadableFlag(quic_bbr2_probe_two_rounds, true);
13601356
SetConnectionOption(kBB2U);
13611357
SetConnectionOption(kBBHI);
13621358
DefaultTopologyParams params;

0 commit comments

Comments
 (0)