Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-686

Simplify oplog rollover check in mongodump

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Won't Fix
    • Icon: Minor - P4 Minor - P4
    • None
    • 3.0.1, 3.1.0
    • mongodump
    • None
    • Not Needed

    Description

      In the current oplog rollover check, we check to see if the oplog has rolled over (the latest timestamp that existed when mongodump started is still in the oplog collection) then dump the new oplog entries, then check again to make sure the oplog didn't roll over during the oplog dump.

      We can make this cleaner and more correct by checking once and then dumping the collection while holding on to the oldest oplog entry, checking that entry at the end to make sure it is the cutoff.

      Attachments

        Activity

          People

            david.golden@mongodb.com David Golden
            kyle.erf Kyle Erf
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: