-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: mongorestore
-
None
From TOOLS-1862, the desired behavior is:
- Without --preserveUUIDs flag (which won't be added until
TOOLS-1817):- When applying oplog entries, remove UUID related fields
- Remove top level 'ui' field
- Remove ‘o.dropTarget’ in op:’c’ entries where ‘o.renameCollection’ exists (currently we shouldn't have renames in the oplog, but maybe this should be done for the future where we might support that.)
- Recurse stripping into nested ops in op:'c' entries where 'o.applyOps' exists
- When applying oplog entries, remove UUID related fields