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

Drop X locks from manipulations to admin database

    XMLWordPrintableJSON

Details

    • Server Security
    • Fully Compatible

    Description

      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.

      Attachments

        Activity

          People

            backlog-server-security Backlog - Security Team
            spencer.jackson@mongodb.com Spencer Jackson
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: