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

always write seed doc to oplog during initial sync

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Replication
    • Labels:
      None
    • Replication
    • 0

      We currently only write the seed doc to the oplog when there are no other operations to apply. When there are operations to apply, however, we should still write this document so that other nodes that only have the seed doc in their oplog can use us as a sync source. This is safe because there is nothing special about that operation and all of the same idempotency guarantees that make the next oplog entry (which is in the oplog) safe, still apply.

            Assignee:
            backlog-server-repl [DO NOT USE] Backlog - Replication Team
            Reporter:
            judah.schvimer@mongodb.com Judah Schvimer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: