-
Type: Task
-
Resolution: Won't Fix
-
Priority: 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.
- related to
-
TOOLS-17 mongodump --oplog should record the end oplog entry before backing up the oplog
- Closed