Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-12074

[Server] Update Oplog page to specify that it only adds an entry on success; link command pages as required

    • 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.

      Impact to Other Docs

      MVP (Work and Date)

      Resources (Scope or Design Docs, Invision, etc.)

            Assignee:
            lauren.tran@mongodb.com Lauren Tran
            Reporter:
            daniel.coupal@mongodb.com Daniel Coupal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              5 years, 30 weeks, 2 days ago