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

always write seed doc to oplog during initial sync

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: Replication
    • Labels:
      None
    • Linked BF Score:
      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

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: