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

Remove the use of atomics for AdmissionContext members

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • WS Prioritized List

      All members of AdmissionContext are currently wrapped in atomics when, in fact, the members are operation-local and can be protected with the client lock. Helpfully, we already accept an OperationContext most places where we write these values (e.g. ScopedAdmissionPriority) so it should be fairly simple to remove the atomics and introduce client locking.

            Assignee:
            Unassigned Unassigned
            Reporter:
            matt.broadstone@mongodb.com Matt Broadstone
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: