Skip to content

Commit 97cfe83

Browse files
mpereskokovablinkov
authored andcommitted
Return clusters list with qt info
commit_hash:104242457a1231fa33f053bb4da88f33886ddd9e
1 parent 493df77 commit 97cfe83

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

yt/yt/client/api/query_tracker_client.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ struct TGetQueryTrackerInfoResult
157157
TString ClusterName;
158158
NYson::TYsonString SupportedFeatures;
159159
std::vector<TString> AccessControlObjects;
160+
std::vector<TString> Clusters;
160161
};
161162

162163
////////////////////////////////////////////////////////////////////////////////

yt/yt/client/api/rpc_proxy/client_impl.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2518,6 +2518,7 @@ TFuture<TGetQueryTrackerInfoResult> TClient::GetQueryTrackerInfo(
25182518
.ClusterName = FromProto<TString>(rsp->cluster_name()),
25192519
.SupportedFeatures = TYsonString(rsp->supported_features()),
25202520
.AccessControlObjects = FromProto<std::vector<TString>>(rsp->access_control_objects()),
2521+
.Clusters = FromProto<std::vector<TString>>(rsp->clusters())
25212522
};
25222523
}));
25232524
}

yt/yt/client/driver/query_commands.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -391,6 +391,7 @@ void TGetQueryTrackerInfoCommand::DoExecute(ICommandContextPtr context)
391391
.Item("cluster_name").Value(result.ClusterName)
392392
.Item("supported_features").Value(result.SupportedFeatures)
393393
.Item("access_control_objects").Value(result.AccessControlObjects)
394+
.Item("clusters").Value(result.Clusters)
394395
.EndMap());
395396
}
396397

yt/yt_proto/yt/client/api/rpc_proxy/proto/api_service.proto

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3449,6 +3449,7 @@ message TRspGetQueryTrackerInfo
34493449
required bytes supported_features = 2; // YSON
34503450
repeated string access_control_objects = 3;
34513451
optional string query_tracker_stage = 4;
3452+
repeated string clusters = 5;
34523453
}
34533454

34543455
////////////////////////////////////////////////////////////////////////////////

0 commit comments

Comments
 (0)