From 0723ece8129bacd44fb630ee30726d4cc9def311 Mon Sep 17 00:00:00 2001 From: Vitalii Gridnev Date: Sun, 19 Jan 2025 23:08:26 +0300 Subject: [PATCH] remove rpc call Request from deprecated api code (#13510) --- ydb/core/protos/grpc.proto | 4 ---- ydb/public/lib/deprecated/client/grpc_client.cpp | 1 - ydb/public/lib/deprecated/kicli/kikimr.cpp | 2 -- 3 files changed, 7 deletions(-) diff --git a/ydb/core/protos/grpc.proto b/ydb/core/protos/grpc.proto index c31e342445ae..c0cf7a996683 100644 --- a/ydb/core/protos/grpc.proto +++ b/ydb/core/protos/grpc.proto @@ -15,10 +15,6 @@ service TGRpcServer { ///////////////////////////////////////////////////////////////////////////////////////////////// // KIKIMR CLIENT INTERFACE ///////////////////////////////////////////////////////////////////////////////////////////////// - - // MiniKQL request (DML) - rpc Request(TRequest) returns (TResponse); - // DML transactions rpc SchemeOperation(TSchemeOperation) returns (TResponse); // status polling for scheme transactions diff --git a/ydb/public/lib/deprecated/client/grpc_client.cpp b/ydb/public/lib/deprecated/client/grpc_client.cpp index 5b66379a16ce..b96b101abc5c 100644 --- a/ydb/public/lib/deprecated/client/grpc_client.cpp +++ b/ydb/public/lib/deprecated/client/grpc_client.cpp @@ -316,7 +316,6 @@ namespace NKikimr { Impl->Issue(request, std::move(callback), &TImpl::TStub::Async ## NAME); \ } - IMPL_REQUEST(Request, TRequest, TResponse) IMPL_REQUEST(SchemeOperation, TSchemeOperation, TResponse) IMPL_REQUEST(SchemeOperationStatus, TSchemeOperationStatus, TResponse) IMPL_REQUEST(SchemeDescribe, TSchemeDescribe, TResponse) diff --git a/ydb/public/lib/deprecated/kicli/kikimr.cpp b/ydb/public/lib/deprecated/kicli/kikimr.cpp index b5401c9d4d8c..da09beaa98c1 100644 --- a/ydb/public/lib/deprecated/kicli/kikimr.cpp +++ b/ydb/public/lib/deprecated/kicli/kikimr.cpp @@ -231,8 +231,6 @@ class TKikimr::TGRpcImpl : public TKikimr::TImpl { virtual NBus::EMessageStatus ExecuteRequest(NThreading::TPromise promise, TAutoPtr request) override { const ui32 type = request->GetHeader()->Type; switch(type) { - case NMsgBusProxy::MTYPE_CLIENT_REQUEST: - return ExecuteGRpcRequest(&NGRpcProxy::TGRpcClient::Request, promise, request); case NMsgBusProxy::MTYPE_CLIENT_FLAT_TX_REQUEST: return ExecuteGRpcRequest(&NGRpcProxy::TGRpcClient::SchemeOperation, promise, request); case NMsgBusProxy::MTYPE_CLIENT_FLAT_TX_STATUS_REQUEST: