diff options
| author | ijon <[email protected]> | 2025-06-26 16:52:53 +0300 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-06-26 16:52:53 +0300 |
| commit | 2145bca03d84ece7f3d5268aa394fae6f6afe231 (patch) | |
| tree | 4bfe4f5b29e46ab8a3b1e52e0a703aa0f9a1232d /library/cpp/containers/stack_array/stack_array.cpp | |
| parent | 8cdfc17d4c0c9ab76947e12e945827df7574185b (diff) | |
schemeshard: add notion and protection of system path names (#19620)
New feature flag `enable_system_names_protection` prohibits users from creating paths with names reserved for current or future system use.
YDB exclusively reserves names like `.sys`, `.metadata`, `.tmp`, `.backups` etc. and any names starting with prefixes `.` and `__ydb` for its own use.
Also introduces safeguards against carelessly using reserved names in future code.
Special tests verify that:
- New scheme create operations include protection for reserved names
- Modifications to the reserved name registry will not go unnoticed
The latter is designed to protect well-meaning developers from careless actions.
YDB developers must obtain explicit consent from the project committee to add new names to the reserved list.
Diffstat (limited to 'library/cpp/containers/stack_array/stack_array.cpp')
0 files changed, 0 insertions, 0 deletions
