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

Filter config collections in dump/restore

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 100.5.1
    • mongodump, mongorestore
    • None

    Description

      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).
      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.

       

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: