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

Ignore admin database in dump/restore for atlasProxy

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

      As part of CLOUDP-124662, listCollections will no longer be allowed on the admin database in the atlasProxy. I believe that we never dump anything in admin for M0/M2/M5 so we should be safe to just ignore the admin DB when we're connected to atlasProxy.

      Acceptance criteria:

      • Check that we never dump anything in the admin DB for M0/M2/M5
      • Check if we ever run listCollections on admin for mognorestore
      • Don't run listCollections on admin if we detect we are connected to atlasProxy

      Copying Nat's thoughts here:

            Assignee:
            rohan.sharan@mongodb.com Rohan Sharan
            Reporter:
            tim.fogarty@mongodb.com Tim Fogarty
            Dave Rolsky, Tim Fogarty
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: