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.

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.5.5
    • Affects Version/s: 2.5.3
    • Component/s: Security, Tools
    • None
    • ALL

      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.

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

              Created:
              Updated:
              Resolved: