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

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.5.5
    • 2.5.3
    • 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

        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: