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

Filter config collections in dump/restore

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 100.5.1
    • Affects Version/s: None
    • Component/s: mongodump, mongorestore
    • None

      1. In mongodump, we should run shouldSkipSystemNamespace() in oplogDocumentValidator() to filter out namespaces we do not want to include in the oplog dump.
      2. config.cache.* should be skipped (see TOOLS-2334).
      3. config.image_collection should be skipped (new from PM-2213, see MGOMIRROR-453).
      4. config.mongos should be skipped (see MGOMIRROR-228, CLOUDP-44863).
      5. In mongorestore, we should add transactions, transaction_coordinators, mongos, image_collection in shouldIgnoreNamespace()
      6. Consider merging shouldSkipSystemNamespace() and shouldIgnoreNamespace() into one method in common.

       

            Assignee:
            tim.fogarty@mongodb.com Tim Fogarty
            Reporter:
            tim.fogarty@mongodb.com Tim Fogarty
            Evgeni Dobranov
            Votes:
            1 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              Resolved: