Details
-
Bug
-
Status: Closed
-
Major - P3
-
Resolution: Fixed
-
None
-
None
-
Fully Compatible
-
ALL
-
0
Description
Currently applyOps relies on lower level subsystems such as the catalog or query execution subsystem to handle CRUD operations that refer to non-existent collections or databases. Some CRUD operations, such as update/upserts, may implicitly create a collection as a result. We should uniformly reject any CRUD operations on non-existent namespaces in apply_ops.cpp (within the _applyOps() function).
Attachments
Issue Links
- is duplicated by
-
SERVER-31471 Certain applyOps and convertToCapped commands can cause secondaries to fassert
-
- Closed
-
- is related to
-
SERVER-27246 Running applyOps with an op on a nonexistent database using mmapv1 will crash mongod
-
- Closed
-
- related to
-
SERVER-63907 Remove code or fix comment referring to handling MMAP
-
- Closed
-