Skip to content

KIKIMR-20714: Удаляем LongTxService grpc #1124

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Jan 18, 2024
Merged
8 changes: 0 additions & 8 deletions ydb/core/driver_lib/run/run.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@
#include <ydb/services/ydb/ydb_export.h>
#include <ydb/services/ydb/ydb_import.h>
#include <ydb/services/ydb/ydb_logstore.h>
#include <ydb/services/ydb/ydb_long_tx.h>
#include <ydb/services/ydb/ydb_operation.h>
#include <ydb/services/ydb/ydb_query.h>
#include <ydb/services/ydb/ydb_scheme.h>
Expand Down Expand Up @@ -565,8 +564,6 @@ void TKikimrRunner::InitializeGRpc(const TKikimrRunConfig& runConfig) {
names["clickhouse_internal"] = &hasClickhouseInternal;
TServiceCfg hasRateLimiter = false;
names["rate_limiter"] = &hasRateLimiter;
TServiceCfg hasLongTx = false;
names["long_tx"] = &hasLongTx;
TServiceCfg hasExport = services.empty();
names["export"] = &hasExport;
TServiceCfg hasImport = services.empty();
Expand Down Expand Up @@ -726,11 +723,6 @@ void TKikimrRunner::InitializeGRpc(const TKikimrRunConfig& runConfig) {
grpcRequestProxies[0], hasScripting.IsRlAllowed()));
}

if (hasLongTx) {
server.AddService(new NGRpcService::TGRpcYdbLongTxService(ActorSystem.Get(), Counters,
grpcRequestProxies[0], hasLongTx.IsRlAllowed()));
}

if (hasSchemeService) {
// RPC RL enabled
// We have no way to disable or enable this service explicitly
Expand Down
Loading