Start mongod, and the following when run from the shell crashes mongod.
db2 = db.getSiblingDB("*") db2.createCollection("foo")
The following is from the mongod log
Thu Dec 29 15:16:40 [conn1] Create/OpenFile failed /data/db/*.ns errno:123
Thu Dec 29 15:16:40 [conn1] error couldn't open file /data/db/*.ns terminating
Thu Dec 29 15:16:40 dbexit:
Thu Dec 29 15:16:40 [conn1] shutdown: going to close listening sockets...
Thu Dec 29 15:16:40 [conn1] closing listening socket: 388
Thu Dec 29 15:16:40 [conn1] closing listening socket: 404
Thu Dec 29 15:16:40 [conn1] shutdown: going to flush diaglog...
- is duplicated by
-
SERVER-4122 Validate database and collection names on the server before creating them
- Closed
-
SERVER-6057 can't remove ill formed database
- Closed
- related to
-
SERVER-6729 restrict database names only on Windows, for FAT32-invalid characters
- Closed
-
SERVER-9309 Database name restrictions should be imposed only on the server, not in the mongo shell
- Closed