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

Oplog as Buffer: OplogBufferCollection should save sentinel documents outside of collection

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.3.10
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Fully Compatible
    • ALL
    • Repl 16 (06/24/16), Repl 17 (07/15/16)

      The OplogBufferCollection currently tries to store sentinel oplog entries, which are empty BSONObjs into the collection, which causes them to be both out of order and error when duplicated. Rather than putting them in the collection, we should save the optimes in which they're pushed, and then pop them when appropriate.

            Assignee:
            judah.schvimer@mongodb.com Judah Schvimer
            Reporter:
            judah.schvimer@mongodb.com Judah Schvimer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: