diff options
author | Tor Brede Vekterli <vekterli@yahooinc.com> | 2023-05-08 11:57:06 +0000 |
---|---|---|
committer | Tor Brede Vekterli <vekterli@yahooinc.com> | 2023-05-08 12:25:37 +0000 |
commit | bd86b6411dd1b4928074432817c6a9ebfe9c123c (patch) | |
tree | 6f450ef6bc545d4ed191473191410ed9269e10ac /storage/src/tests/distributor | |
parent | 2558a5be5bbcddd4200af59ad4a3095b7e759668 (diff) |
Default-enable fast path updates when document versions are consistent
This feature is always _implicitly_ enabled when 3-phase updates are
enabled (which is the case by default). Flip the config default to
true as well to be more in line with what's actually the case in
production.
Diffstat (limited to 'storage/src/tests/distributor')
-rw-r--r-- | storage/src/tests/distributor/distributor_stripe_test.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/storage/src/tests/distributor/distributor_stripe_test.cpp b/storage/src/tests/distributor/distributor_stripe_test.cpp index 2130c6ae62d..e963b505bc2 100644 --- a/storage/src/tests/distributor/distributor_stripe_test.cpp +++ b/storage/src/tests/distributor/distributor_stripe_test.cpp @@ -865,6 +865,8 @@ TEST_F(DistributorStripeTest, fast_path_on_consistent_gets_config_is_propagated_ { setup_stripe(Redundancy(1), NodeCount(1), "distributor:1 storage:1"); + EXPECT_TRUE(getConfig().update_fast_path_restart_enabled()); // Enabled by default + configure_update_fast_path_restart_enabled(true); EXPECT_TRUE(getConfig().update_fast_path_restart_enabled()); |