[DOCS-9518] Docs for SERVER-22577: mmapv1 should not allow creation of database names containing $ Created: 05/Dec/16 Updated: 30/Oct/23 Resolved: 30/Oct/19 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | manual, Server |
| Affects Version/s: | None |
| Fix Version/s: | Server_Docs_20231030 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Emily Hall | Assignee: | Andrew Feierabend (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Participants: | |||||||||
| Days since reply: | 4 years, 15 weeks ago | ||||||||
| Epic Link: | DOCSP-1769 | ||||||||
| Description |
|
Engineering Ticket Description: This was first discovered by jonathan.abrahams in the linked ticket. When we do an insert, a DatabaseCatalogEntry is created implicitly before validating the namespace string (batch_executor.cpp). The insert would fail after the DatbaseCatalogEntry is created. For KVEngines, creating a DatabaseCatalogEntry is basically a noop (kv_storage_engine.cpp), so no harm is done. For mmapv1, a data file with an invalid name would be created in (mmap_v1_database_catalog_entry.cpp). Subsequent calls to show dbs would require getting the list of data files and this invalid one will show up. |
| Comments |
| Comment by Githook User [ 30/Oct/19 ] |
|
Author: {'name': 'Andrew Feierabend', 'username': 'andf-mongodb', 'email': 'andrew.feierabend@mongodb.com'}Message: |
| Comment by Githook User [ 30/Oct/19 ] |
|
Author: {'name': 'Andrew Feierabend', 'username': 'andf-mongodb', 'email': 'andrew.feierabend@mongodb.com'}Message: |
| Comment by Githook User [ 30/Oct/19 ] |
|
Author: {'name': 'Andrew Feierabend', 'username': 'andf-mongodb', 'email': 'andrew.feierabend@mongodb.com'}Message: |
| Comment by Andrew Feierabend (Inactive) [ 30/Oct/19 ] |
|
Provided deprecation notice for $ character beginning in 3.4, and provided links to naming restrictions doc for naming and renaming commands. |
| Comment by Kay Kim (Inactive) [ 27/Sep/19 ] |
|
We'll only do this for 3.4-4.0 |