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

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: 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)
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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
              Reporter:
              Judah Schvimer
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: