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

Simplify oplog rollover check in mongodump

    • Type: Icon: Task Task
    • Resolution: Won't Fix
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 3.0.1, 3.1.0
    • Component/s: mongodump
    • None
    • Not Needed

      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.

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

              Created:
              Updated:
              Resolved: