diff options
author | mpereskokova <mpereskokova@yandex-team.com> | 2025-02-19 11:30:04 +0300 |
---|---|---|
committer | mpereskokova <mpereskokova@yandex-team.com> | 2025-02-19 13:02:49 +0300 |
commit | 25b41092050f818475542800eeb7c8102993fd2e (patch) | |
tree | 0ac1030100be888112366f4f3e43b9a504b8721f | |
parent | 4d793ea03b9112fa6da1f626d971cda70640ed53 (diff) | |
download | ydb-25b41092050f818475542800eeb7c8102993fd2e.tar.gz |
Return clusters list with qt info
commit_hash:104242457a1231fa33f053bb4da88f33886ddd9e
-rw-r--r-- | yt/yt/client/api/query_tracker_client.h | 1 | ||||
-rw-r--r-- | yt/yt/client/api/rpc_proxy/client_impl.cpp | 1 | ||||
-rw-r--r-- | yt/yt/client/driver/query_commands.cpp | 1 | ||||
-rw-r--r-- | yt/yt_proto/yt/client/api/rpc_proxy/proto/api_service.proto | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/yt/yt/client/api/query_tracker_client.h b/yt/yt/client/api/query_tracker_client.h index 2cdcf2cbab..c5eae7c025 100644 --- a/yt/yt/client/api/query_tracker_client.h +++ b/yt/yt/client/api/query_tracker_client.h @@ -157,6 +157,7 @@ struct TGetQueryTrackerInfoResult TString ClusterName; NYson::TYsonString SupportedFeatures; std::vector<TString> AccessControlObjects; + std::vector<TString> Clusters; }; //////////////////////////////////////////////////////////////////////////////// diff --git a/yt/yt/client/api/rpc_proxy/client_impl.cpp b/yt/yt/client/api/rpc_proxy/client_impl.cpp index 08876f9fcb..555574ffb1 100644 --- a/yt/yt/client/api/rpc_proxy/client_impl.cpp +++ b/yt/yt/client/api/rpc_proxy/client_impl.cpp @@ -2518,6 +2518,7 @@ TFuture<TGetQueryTrackerInfoResult> TClient::GetQueryTrackerInfo( .ClusterName = FromProto<TString>(rsp->cluster_name()), .SupportedFeatures = TYsonString(rsp->supported_features()), .AccessControlObjects = FromProto<std::vector<TString>>(rsp->access_control_objects()), + .Clusters = FromProto<std::vector<TString>>(rsp->clusters()) }; })); } diff --git a/yt/yt/client/driver/query_commands.cpp b/yt/yt/client/driver/query_commands.cpp index 89a97a7b49..4b5ccdecea 100644 --- a/yt/yt/client/driver/query_commands.cpp +++ b/yt/yt/client/driver/query_commands.cpp @@ -391,6 +391,7 @@ void TGetQueryTrackerInfoCommand::DoExecute(ICommandContextPtr context) .Item("cluster_name").Value(result.ClusterName) .Item("supported_features").Value(result.SupportedFeatures) .Item("access_control_objects").Value(result.AccessControlObjects) + .Item("clusters").Value(result.Clusters) .EndMap()); } diff --git a/yt/yt_proto/yt/client/api/rpc_proxy/proto/api_service.proto b/yt/yt_proto/yt/client/api/rpc_proxy/proto/api_service.proto index c5ada25990..92b94e0274 100644 --- a/yt/yt_proto/yt/client/api/rpc_proxy/proto/api_service.proto +++ b/yt/yt_proto/yt/client/api/rpc_proxy/proto/api_service.proto @@ -3449,6 +3449,7 @@ message TRspGetQueryTrackerInfo required bytes supported_features = 2; // YSON repeated string access_control_objects = 3; optional string query_tracker_stage = 4; + repeated string clusters = 5; } //////////////////////////////////////////////////////////////////////////////// |