Skip to content

Commit

Permalink
remove rpc call Request from deprecated api code (#13510)
Browse files Browse the repository at this point in the history
  • Loading branch information
gridnevvvit authored Jan 19, 2025
1 parent b01d93d commit 0723ece
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 7 deletions.
4 changes: 0 additions & 4 deletions ydb/core/protos/grpc.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion ydb/public/lib/deprecated/client/grpc_client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 0 additions & 2 deletions ydb/public/lib/deprecated/kicli/kikimr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,6 @@ class TKikimr::TGRpcImpl : public TKikimr::TImpl {
virtual NBus::EMessageStatus ExecuteRequest(NThreading::TPromise<TResult> promise, TAutoPtr<NBus::TBusMessage> request) override {
const ui32 type = request->GetHeader()->Type;
switch(type) {
case NMsgBusProxy::MTYPE_CLIENT_REQUEST:
return ExecuteGRpcRequest<NMsgBusProxy::TBusRequest>(&NGRpcProxy::TGRpcClient::Request, promise, request);
case NMsgBusProxy::MTYPE_CLIENT_FLAT_TX_REQUEST:
return ExecuteGRpcRequest<NMsgBusProxy::TBusSchemeOperation>(&NGRpcProxy::TGRpcClient::SchemeOperation, promise, request);
case NMsgBusProxy::MTYPE_CLIENT_FLAT_TX_STATUS_REQUEST:
Expand Down

0 comments on commit 0723ece

Please sign in to comment.