aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorponasenko-rs <ponasenko-rs@yandex-team.com>2025-02-03 13:42:09 +0300
committerponasenko-rs <ponasenko-rs@yandex-team.com>2025-02-03 14:44:33 +0300
commitbec46f8d60a0f1491aa6abb7241be0bb379dcc49 (patch)
tree11c0e0804a1ec29c7619aa339f1c60a4a4d28027
parentc40911de0e1191345518cc1f29623a1ce7a7ca28 (diff)
downloadydb-bec46f8d60a0f1491aa6abb7241be0bb379dcc49.tar.gz
YT-23633: Enable power of two choices by default
commit_hash:f7c5185447cee7dabf0ae0ae8d3df907f5d2a108
-rw-r--r--yt/yt/core/rpc/config.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt/yt/core/rpc/config.cpp b/yt/yt/core/rpc/config.cpp
index 2ddb306d6b..6b3c927b98 100644
--- a/yt/yt/core/rpc/config.cpp
+++ b/yt/yt/core/rpc/config.cpp
@@ -179,7 +179,7 @@ void TViablePeerRegistryConfig::Register(TRegistrar registrar)
.Default(0);
registrar.Parameter("enable_power_of_two_choices_strategy", &TThis::EnablePowerOfTwoChoicesStrategy)
- .Default(false);
+ .Default(true);
registrar.Postprocessor([] (TThis* config) {
if (config->MinPeerCountForPriorityAwareness > config->MaxPeerCount) {