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

always write seed doc to oplog during initial sync

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Replication
    • None
    • Replication
    • 0

    Description

      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.

      Attachments

        Activity

          People

            backlog-server-repl Backlog - Replication Team
            judah.schvimer@mongodb.com Judah Schvimer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: