-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: Internal Code
-
Query Optimization
> c = db.coll.system.namespaces
test.coll.system.namespaces
> c.save({})
> c.findOne()
null
Presumably db.system.namespaces should be protected, but not db.coll.system.namespaces?
I think there are some related validations that should be checked as well.
- is duplicated by
-
SERVER-12944 validateUpdate ns
- Closed
-
SERVER-16751 Use prefix matching to detect system namespaces, not substring matching
- Closed
-
SERVER-28074 Overly eager check for .system. in collection names causes error / assertion
- Closed