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

Remove UUID fields from oplog entries when restoring from oplog

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.7.1, 3.6.0-rc5
    • Affects Version/s: None
    • Component/s: mongorestore
    • Labels:
      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@mongodb.com David Golden
            Reporter:
            david.golden@mongodb.com David Golden
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: