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

Simplify oplog rollover check in mongodump

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Won't Fix
    • Affects Version/s: 3.0.1, 3.1.0
    • Fix Version/s: None
    • Component/s: mongodump
    • Labels:
      None
    • Documentation Changes:
      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

          Issue Links

            Activity

              People

              • Assignee:
                david.golden David Golden
                Reporter:
                kyle.erf Kyle Erf
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: