-
Type: Task
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Server
-
1
Description
Let's add a mention in the documentation where we precise what happen to replication for the different "delete" methods.
For example:
- deleteMany resulting in many entries put on the Oplog
- deleteXXX not finding any documents, not adding anything on the Oplog
Scope of changes
Add section on behavior of write commands that can fail (e.g. delete/update where query predicate finds no matching documents to modify) not adding oplog entries.
Add a section in the oplog docs to note that only write operations that succeed create an oplog entry.
Not in scope - wider audit of commands that generate oplog entries on success but not on failure.