Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-31384

applyOps should propagate oplog application mode

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.0-rc5
    • Affects Version/s: None
    • Component/s: Replication
    • Fully Compatible
    • ALL
    • v3.6
    • Repl 2017-11-13, Repl 2017-12-04

      When an applyOps oplog entry is applied, it always sets the "inSteadyStateReplication" flag to true for commands and to the "alwaysUpsert" value for operations.

      This means that an applyOps command with a renameCollection command in it will not cause initial sync to restart.

      We should pass the appropriate OplogApplication::Mode into the applyOps function.

            Assignee:
            william.schultz@mongodb.com Will Schultz
            Reporter:
            judah.schvimer@mongodb.com Judah Schvimer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: