Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-11461

mongorestore with --drop doesn't drop admin.system.roles or admin.system.version.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Done
    • 2.5.3
    • 2.5.5
    • Security, Tools
    • None
    • ALL

    Description

      Running mongorestore --drop will not actually clear out the contents of admin.system.roles because you can't call drop on system collections. admin.system.users is special cased to use remove() to clear out the old users, we should do something similar with admin.system.roles and admin.system.version.

      Attachments

        Issue Links

          Activity

            People

              spencer@mongodb.com Spencer Brody (Inactive)
              spencer@mongodb.com Spencer Brody (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: