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

Fix special handling of $admin filenames

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 100.0.2
    • Affects Version/s: None
    • Component/s: mongorestore
    • Labels:
      None

      When --db and --dumpDbUsersAndRoles are both specified, mongodump will dump out special files for the users and roles of a single db. These files are prefixed with $ so they aren't mistaken for actual collections. We need to change the special handling in mongorestore to specifically check for three filenames so that they don't get confused for the long collection name filenames that also include %24 ($):

      $admin.system.users
      $admin.system.roles
      $admin.system.version

            Assignee:
            evgeni.dobranov@mongodb.com Evgeni Dobranov
            Reporter:
            tim.fogarty@mongodb.com Tim Fogarty
            Tim Fogarty
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: