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

Drop X locks from manipulations to admin database

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.8.1
    • Component/s: Replication, Security, Storage
    • Labels:
      None
    • Backwards Compatibility:
      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

            Assignee:
            backlog-server-security Backlog - Security Team
            Reporter:
            spencer.jackson Spencer Jackson
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: