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

clear OplogBuffer at the end of initial sync

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.4.1, 3.5.1
    • Component/s: Replication
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Completed:
    • Sprint:
      Repl 2016-11-21

      Description

      We clear the OplogBuffer in _resetState_inlock: https://github.com/mongodb/mongo/blob/8c5d01498d1dfa8eef4292db4d32e6e6465a1580/src/mongo/db/repl/data_replicator.cpp#L352

      When the call to this function got moved from the end of initial sync to the beginning, we no longer cleared the OplogBuffer at the end of initial sync.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: