Fix special handling of $admin filenames

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 100.0.2
    • Affects Version/s: None
    • Component/s: mongorestore
    • 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 (Inactive)
              Reporter:
              Tim Fogarty
              Tim Fogarty
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: