summaryrefslogtreecommitdiffstats
path: root/yt/cpp/mapreduce/http_client/raw_client.cpp
diff options
context:
space:
mode:
authordagorokhov <[email protected]>2026-06-15 13:22:53 +0300
committerdagorokhov <[email protected]>2026-06-15 13:54:52 +0300
commit246d9269952ba8a27a1487cf4775ae6ec4740ee6 (patch)
treefb4f12050c9932fa953ea5b87e48ff038af869a3 /yt/cpp/mapreduce/http_client/raw_client.cpp
parent8d7c71348981d6f1cdd5b49c3f1d04ccd668ef2a (diff)
YT-28380: Add CheckClusterLiveness to C++ SDK
* Changelog entry Type: feature Component: cpp-sdk Add CheckClusterLiveness handle commit_hash:9b3f23b70fb639693a67edbe9ed2b80683fea61b
Diffstat (limited to 'yt/cpp/mapreduce/http_client/raw_client.cpp')
-rw-r--r--yt/cpp/mapreduce/http_client/raw_client.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/yt/cpp/mapreduce/http_client/raw_client.cpp b/yt/cpp/mapreduce/http_client/raw_client.cpp
index 2c9afd7cbb4..a44e594972a 100644
--- a/yt/cpp/mapreduce/http_client/raw_client.cpp
+++ b/yt/cpp/mapreduce/http_client/raw_client.cpp
@@ -1196,6 +1196,15 @@ TMultiTablePartitions THttpRawClient::GetTablePartitions(
return result;
}
+void THttpRawClient::CheckClusterLiveness(
+ const TCheckClusterLivenessOptions& options)
+{
+ TMutationId mutationId;
+ THttpHeader header("GET", "check_cluster_liveness");
+ header.MergeParameters(NRawClient::SerializeParamsForCheckClusterLiveness(options));
+ RequestWithoutRetry(Context_, mutationId, header)->GetResponse();
+}
+
ui64 THttpRawClient::GenerateTimestamp()
{
TMutationId mutationId;