[SERVER-54024] Use lock-free collection helpers in auth code Created: 25/Jan/21  Updated: 29/Oct/23  Resolved: 02/Mar/21

Status: Closed
Project: Core Server
Component/s: Security, Storage
Affects Version/s: None
Fix Version/s: 4.9.0

Type: Task Priority: Major - P3
Reporter: Dianna Hohensee (Inactive) Assignee: Dianna Hohensee (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-54802 Test whether auth can run lock-free f... Backlog
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2021-02-22, Execution Team 2021-03-08
Participants:

 Description   

Change collection helpers in AuthzManagerExternalStateMongod::findOne() and AuthzManagerExternalStateMongod::hasOne() to be AutoGetCollectionForReadCommandLockFree (or AutoGetCollectionForReadCommandMaybeLockFree if testing shows an issue) instead of AutoGetCollectionForReadCommand.



 Comments   
Comment by Githook User [ 02/Mar/21 ]

Author:

{'name': 'Dianna Hohensee', 'email': 'dianna.hohensee@mongodb.com', 'username': 'DiannaHohensee'}

Message: SERVER-54024 Use lock-free collection helpers in some auth read lookups and RolesLocks.
Branch: master
https://github.com/mongodb/mongo/commit/168d5f983a3165d2271569b1fc0dbb671771a87f

Generated at Thu Feb 08 05:32:27 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.