Skip to content

Commit 4f25730

Browse files
committed
disable db metadata cache
1 parent 2631f5b commit 4f25730

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

ydb/core/driver_lib/run/config.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ union TBasicKikimrServicesMask {
125125

126126
TBasicKikimrServicesMask() {
127127
EnableAll();
128+
EnableDatabaseMetadataCache = false;
128129
}
129130
};
130131

ydb/core/grpc_services/rpc_monitoring.cpp

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -44,16 +44,7 @@ class TSelfCheckRPC : public TRpcRequestActor<TSelfCheckRPC, TEvSelfCheckRequest
4444
}
4545

4646
void Bootstrap() {
47-
if (GetProtoRequest()->do_not_cache() || !Request->GetDatabaseName()) {
48-
SendHealthCheckRequest();
49-
} else {
50-
auto domainInfo = AppData()->DomainsInfo->Domains.begin()->second;
51-
RegisterWithSameMailbox(CreateBoardLookupActor(MakeDatabaseMetadataCacheBoardPath(Request->GetDatabaseName().GetRef()),
52-
SelfId(),
53-
domainInfo->DefaultStateStorageGroup,
54-
EBoardLookupMode::Second));
55-
Become(&TThis::StateResolve);
56-
}
47+
SendHealthCheckRequest();
5748
}
5849

5950
STATEFN(StateWaitHealthCheck) {

0 commit comments

Comments
 (0)