Skip to content

Commit e277df0

Browse files
committed
fixup to: schemeshard: add system names/prefixes protection
1 parent 9a6e8a3 commit e277df0

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

ydb/core/tx/schemeshard/schemeshard_system_names.cpp

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,15 @@ const TVector<TString> ReservedPrefixes = {
3636
// Temporary exceptions from the ReservedNames (note: no prefix exceptions).
3737
// The goal is to have no exceptions.
3838
const TVector<TString> ReservedNamesExceptions = {
39+
// external agent checking liveness of the database creates this directory
3940
".sys_health",
41+
// sqs/yqm employs schema objects starting with dot
42+
".AtomicCounter",
43+
".Events",
4044
".Queues",
41-
//TODO: add other yqm objects starting with dot
45+
".Quoter",
46+
".RemovedQueues",
47+
".Settings",
4248
};
4349

4450
bool CheckReservedNameImpl(const TString& name, bool isSystemUser, bool isAdministrator, TString& explain) {

0 commit comments

Comments
 (0)