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

    XMLWordPrintableJSON

Details

    • Task
    • Status: Backlog
    • Major - P3
    • Resolution: Unresolved
    • None
    • None
    • Server

    Description

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

      Attachments

        Activity

          People

            ravind.kumar Ravind Kumar (Inactive)
            daniel.coupal@mongodb.com Daniel Coupal
            Ashley Brown Ashley Brown
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              4 years, 36 weeks, 1 day ago