diff options
author | babenko <babenko@yandex-team.com> | 2025-05-06 15:21:47 +0300 |
---|---|---|
committer | babenko <babenko@yandex-team.com> | 2025-05-06 15:35:51 +0300 |
commit | a8066d88a9c0c0c5050c38f6a902b27d64ccf6d3 (patch) | |
tree | 0a699b3adeb6ea6997239c39685256ebc94b2f99 | |
parent | 0ba803a734b1c0a6c0f79beff16668302c34f3d1 (diff) | |
download | ydb-a8066d88a9c0c0c5050c38f6a902b27d64ccf6d3.tar.gz |
Read cluster name from "just cache"
commit_hash:3c75cdc79519b4d360385ac2b57111ddf07780ed
-rw-r--r-- | yt/yt/client/api/client.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yt/yt/client/api/client.cpp b/yt/yt/client/api/client.cpp index b7e4e876d1b..29c9f9fe8e1 100644 --- a/yt/yt/client/api/client.cpp +++ b/yt/yt/client/api/client.cpp @@ -51,7 +51,7 @@ TFuture<std::optional<std::string>> TClusterAwareClientBase::GetClusterName(bool TFuture<std::optional<std::string>> TClusterAwareClientBase::FetchClusterNameFromMasterCache() { TGetNodeOptions options; - options.ReadFrom = EMasterChannelKind::MasterCache; + options.ReadFrom = EMasterChannelKind::Cache; return GetNode(ClusterNamePath, options).Apply( BIND([] (const TErrorOr<TYsonString>& clusterNameYsonOrError) -> std::optional<std::string> { |