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.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 2.5.3
    • Fix Version/s: 2.5.5
    • Component/s: Security, Tools
    • Labels:
      None
    • Operating System:
      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

              Assignee:
              spencer Spencer Brody (Inactive)
              Reporter:
              spencer Spencer Brody (Inactive)
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: