Remove UUID fields from oplog entries when restoring from oplog

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.7.1, 3.6.0-rc5
    • 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

            Assignee:
            David Golden
            Reporter:
            David Golden
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: