Strip 'rid' field from the oplog entry for applyOps command

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • Storage Execution 2026-03-16, Storage Execution 2026-03-30
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      External tools use applyOps command for migration/dump/restore use cases in ways that the oplog rid field will not work correctly. We should remove the field at the user command level, regardless of the OplogApplication::Mode specified in the command, instead of handling it in the oplog application level.

      The primary that runs the applyOps command will then just generate a recordId instead of using the rid field. It will be replicated if the collection uses replicated record id, and not otherwise.

            Assignee:
            Yuhong Zhang
            Reporter:
            Yuhong Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: