diff options
author | Maxim Yurchuk <maxim-yurchuk@ydb.tech> | 2024-04-16 07:31:24 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-16 10:31:24 +0300 |
commit | 1acdfa076cedab37949c547c1c80bfe682e25452 (patch) | |
tree | 64bc0444cb12023314f64c7a5ffcd9a96123f7b7 | |
parent | 3cde4c08f0c60847e73c1f16e34c1057cb369d5d (diff) | |
download | ydb-1acdfa076cedab37949c547c1c80bfe682e25452.tar.gz |
Remove unused grpc (#3321)
-rw-r--r-- | ydb/core/client/server/grpc_server.cpp | 8 | ||||
-rw-r--r-- | ydb/core/client/server/grpc_server.h | 1 | ||||
-rw-r--r-- | ydb/core/protos/grpc.proto | 5 | ||||
-rw-r--r-- | ydb/core/protos/msgbus.proto | 14 | ||||
-rw-r--r-- | ydb/public/lib/deprecated/client/grpc_client.cpp | 1 | ||||
-rw-r--r-- | ydb/public/lib/deprecated/client/grpc_client.h | 5 |
6 files changed, 0 insertions, 34 deletions
diff --git a/ydb/core/client/server/grpc_server.cpp b/ydb/core/client/server/grpc_server.cpp index 7853edccfe..906c4bf5fb 100644 --- a/ydb/core/client/server/grpc_server.cpp +++ b/ydb/core/client/server/grpc_server.cpp @@ -152,14 +152,6 @@ public: } } - void Reply(const NKikimrClient::TDsTestLoadResponse& resp) override { - if (const TOut* x = dynamic_cast<const TOut*>(&resp)) { - Finish(*x, 0); - } else { - ReplyError("request failed"); - } - } - void Reply(const NKikimrClient::TBsTestLoadResponse& resp) override { if (const TOut* x = dynamic_cast<const TOut*>(&resp)) { Finish(*x, 0); diff --git a/ydb/core/client/server/grpc_server.h b/ydb/core/client/server/grpc_server.h index f98fbcfa63..dd0cba64e2 100644 --- a/ydb/core/client/server/grpc_server.h +++ b/ydb/core/client/server/grpc_server.h @@ -33,7 +33,6 @@ public: //! Send reply. virtual void Reply(const NKikimrClient::TResponse& resp) = 0; - virtual void Reply(const NKikimrClient::TDsTestLoadResponse& resp) = 0; virtual void Reply(const NKikimrClient::TBsTestLoadResponse& resp) = 0; virtual void Reply(const NKikimrClient::TJSON& resp) = 0; virtual void Reply(const NKikimrClient::TNodeRegistrationResponse& resp) = 0; diff --git a/ydb/core/protos/grpc.proto b/ydb/core/protos/grpc.proto index d9a9bbe729..d1fac6c69e 100644 --- a/ydb/core/protos/grpc.proto +++ b/ydb/core/protos/grpc.proto @@ -104,11 +104,6 @@ service TGRpcServer { rpc BlobStorageGetRequest(TBsGetRequest) returns (TResponse); ///////////////////////////////////////////////////////////////////////////////////////////////// - // DATASHARD LOAD TEST - ///////////////////////////////////////////////////////////////////////////////////////////////// - rpc DataShardLoadRequest(TDsTestLoadRequest) returns (TResponse); - - ///////////////////////////////////////////////////////////////////////////////////////////////// // HTTP INTERFACE ///////////////////////////////////////////////////////////////////////////////////////////////// rpc DbSchema(TJSON) returns (TJSON); diff --git a/ydb/core/protos/msgbus.proto b/ydb/core/protos/msgbus.proto index 510d1246af..d59b11f0ac 100644 --- a/ydb/core/protos/msgbus.proto +++ b/ydb/core/protos/msgbus.proto @@ -449,20 +449,6 @@ message TSchemeOperationStatus { optional TFlatTxPollOptions PollOptions = 10; }; -message TDsTestLoadRequest { - optional uint32 NodeId = 1; - optional NKikimrDataShardLoad.TEvYCSBTestLoadRequest Event = 2; -}; - -message TDsTestLoadResponse { - message TItem { - optional uint32 NodeId = 1; - optional uint32 Status = 2; - optional string ErrorReason = 3; - }; - repeated TItem Items = 1; -}; - message TBsTestLoadRequest { repeated uint32 NodeId = 1; optional NKikimr.TEvLoadTestRequest Event = 2; diff --git a/ydb/public/lib/deprecated/client/grpc_client.cpp b/ydb/public/lib/deprecated/client/grpc_client.cpp index 6cc3580f3c..61ae534322 100644 --- a/ydb/public/lib/deprecated/client/grpc_client.cpp +++ b/ydb/public/lib/deprecated/client/grpc_client.cpp @@ -335,7 +335,6 @@ namespace NKikimr { IMPL_REQUEST(TabletKillRequest, TTabletKillRequest, TResponse) IMPL_REQUEST(InterconnectDebug, TInterconnectDebug, TResponse) IMPL_REQUEST(TabletStateRequest, TTabletStateRequest, TResponse) - IMPL_REQUEST(DataShardLoadRequest, TDsTestLoadRequest, TResponse) IMPL_REQUEST(BlobStorageLoadRequest, TBsTestLoadRequest, TResponse) IMPL_REQUEST(BlobStorageGetRequest, TBsGetRequest, TResponse) IMPL_REQUEST(DbSchema, TJSON, TJSON) diff --git a/ydb/public/lib/deprecated/client/grpc_client.h b/ydb/public/lib/deprecated/client/grpc_client.h index fe2f8e3ee9..d1f3cb57dc 100644 --- a/ydb/public/lib/deprecated/client/grpc_client.h +++ b/ydb/public/lib/deprecated/client/grpc_client.h @@ -116,11 +116,6 @@ namespace NKikimr { void BlobStorageGetRequest(const NKikimrClient::TBsGetRequest& request, TResponseCallback callback); ///////////////////////////////////////////////////////////////////////////////////////////////// - // DATASHARD LOAD TEST - ///////////////////////////////////////////////////////////////////////////////////////////////// - void DataShardLoadRequest(const NKikimrClient::TDsTestLoadRequest& request, TResponseCallback callback); - - ///////////////////////////////////////////////////////////////////////////////////////////////// // HTTP INTERFACE ///////////////////////////////////////////////////////////////////////////////////////////////// void DbSchema(const NKikimrClient::TJSON& request, TJSONCallback callback); |