Skip to content
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

YQ-3689 removed grpc config setting: skip scheme check #9686

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions ydb/core/driver_lib/run/kikimr_services_initializers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1643,9 +1643,7 @@ void TGRpcServicesInitializer::InitializeServices(NActors::TActorSystemSetup* se
const size_t proxyCount = Config.HasGRpcConfig() ? Config.GetGRpcConfig().GetGRpcProxyCount() : 1UL;
NJaegerTracing::TSamplingThrottlingConfigurator tracingConfigurator(appData->TimeProvider, appData->RandomProvider);
for (size_t i = 0; i < proxyCount; ++i) {
auto grpcReqProxy = Config.HasGRpcConfig() && Config.GetGRpcConfig().GetSkipSchemeCheck()
? NGRpcService::CreateGRpcRequestProxySimple(Config)
: NGRpcService::CreateGRpcRequestProxy(Config, tracingConfigurator.GetControl());
auto grpcReqProxy = NGRpcService::CreateGRpcRequestProxy(Config, tracingConfigurator.GetControl());
setup->LocalServices.push_back(std::pair<TActorId,
TActorSetupCmd>(NGRpcService::CreateGRpcRequestProxyId(i),
TActorSetupCmd(grpcReqProxy, TMailboxType::ReadAsFilled,
Expand Down
2 changes: 1 addition & 1 deletion ydb/core/protos/config.proto
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,7 @@ message TGRpcConfig {
repeated string ServicesEnabled = 22;
repeated string ServicesDisabled = 23;

optional bool SkipSchemeCheck = 24 [default = false];
optional bool SkipSchemeCheck = 24 [default = false, deprecated = true];

repeated string RatelimiterServicesEnabled = 25;
repeated string RatelimiterServicesDisabled = 26;
Expand Down
Loading