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

Drop X locks from manipulations to admin database

    • Server Security
    • Fully Compatible

      Writes to collections in the admin database imply taking an X lock on the entire database, rather than just the collection. This enforces serialization of writes between admin.system.users and admin.system.roles, and prevents the RoleGraph from being informed of multiple updates in parallel. The elevated strength of the locks prevents transactions from working on the admin database.

            Assignee:
            backlog-server-security [DO NOT USE] Backlog - Security Team
            Reporter:
            spencer.jackson@mongodb.com Spencer Jackson
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: