summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrobot-piglet <[email protected]>2023-12-14 14:23:41 +0300
committerrobot-piglet <[email protected]>2023-12-14 15:18:42 +0300
commit6155095ac47e935de31352227baeda690fb314df (patch)
treeb701a81ed8adb7c47e82a957d01c5ed36e2ed7ef
parente7f64cc383ca087378ff3edb8b833360561445a7 (diff)
Intermediate changes
-rw-r--r--yt/yt/client/cache/rpc.cpp4
-rw-r--r--yt/yt_proto/yt/client/cache/proto/config.proto1
2 files changed, 4 insertions, 1 deletions
diff --git a/yt/yt/client/cache/rpc.cpp b/yt/yt/client/cache/rpc.cpp
index 35a9f1a498c..a076935ab00 100644
--- a/yt/yt/client/cache/rpc.cpp
+++ b/yt/yt/client/cache/rpc.cpp
@@ -74,7 +74,9 @@ NApi::NRpcProxy::TConnectionConfigPtr GetConnectionConfig(const TConfig& config)
if (config.HasEnableLegacyRpcCodecs()) {
connectionConfig->EnableLegacyRpcCodecs = config.GetEnableLegacyRpcCodecs();
}
-
+ if (config.HasEnableSelectQueryTracingTag()) {
+ connectionConfig->EnableSelectQueryTracingTag = config.GetEnableSelectQueryTracingTag();
+ }
if (config.HasRetryBackoffTime()) {
connectionConfig->RetryingChannel->RetryBackoffTime = TDuration::MilliSeconds(config.GetRetryBackoffTime());
}
diff --git a/yt/yt_proto/yt/client/cache/proto/config.proto b/yt/yt_proto/yt/client/cache/proto/config.proto
index cb14e7ac964..98699e87bbf 100644
--- a/yt/yt_proto/yt/client/cache/proto/config.proto
+++ b/yt/yt_proto/yt/client/cache/proto/config.proto
@@ -40,6 +40,7 @@ message TConfig
repeated string ProxyAddresses = 18;
optional bool EnableProxyDiscovery = 19;
optional bool EnablePowerOfTwoChoicesStrategy = 21;
+ optional bool EnableSelectQueryTracingTag = 22;
}
message TClustersConfig