-
Type:
Bug
-
Resolution: Duplicate
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
ALL
-
Appears to be the result of the code in insert.cpp in userAllowedCreateNS
Specifically
if (coll.find(".system.") != string::npos) { // this matches old (2.4 and older) behavior, but I'm not sure its a good idea return Status(ErrorCodes::BadValue, str::stream() << "cannot write to '" << db << "." << coll << "'"); }
This conditional looks for .system. anywhere in a collection name.
It appears to have caught a user supplied collection name of tmp.mr.system.users_1882
- duplicates
-
SERVER-4558 namespace validation on insert uses substring matching not prefix matching
-
- Backlog
-
- related to
-
SERVER-19019 Fatal assertion when failing to create temporary mapReduce collection on secondary
-
- Closed
-