[SERVER-18478] Clean up AuthzManagerExternalState Created: 14/May/15  Updated: 19/Sep/15  Resolved: 26/May/15

Status: Closed
Project: Core Server
Component/s: Security, Sharding
Affects Version/s: 3.1.2
Fix Version/s: 3.1.4

Type: Task Priority: Major - P3
Reporter: Daniel Alabi Assignee: Daniel Alabi
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-18328 User management commands should go th... Closed
Related
related to SERVER-19759 add a configure check for std::timed_... Closed
Backwards Compatibility: Fully Compatible
Participants:

 Description   

Some parts of AuthzManagerExternalState, especially the locking protocol for mongos (see tryAcquireAuthzUpdateLock and releaseAuthzUpdateLock methods of the AuthzManagerExternalState) has been rendered redundant since the catalog manager now handles running user management commands (which is needed for the replica set catalog manager). Remove the redundant parts and simplify logic where possible.



 Comments   
Comment by Githook User [ 26/May/15 ]

Author:

{u'username': u'alabid', u'name': u'Daniel Alabi', u'email': u'alabidan@gmail.com'}

Message: SERVER-18478 Remove lingering unused mutex in AuthzManagerExternalStateLocal

Also removes unused includes in AuthzManagerExternalState* files as a result
of recent cleanup
Branch: master
https://github.com/mongodb/mongo/commit/6ff771d5ea56c15ffc298f0d78b76f427d171052

Comment by Githook User [ 22/May/15 ]

Author:

{u'username': u'alabid', u'name': u'Daniel Alabi', u'email': u'alabidan@gmail.com'}

Message: SERVER-18328 SERVER-18478 AuthzManagerExternalState for mongos should go through the catalog manager
Branch: master
https://github.com/mongodb/mongo/commit/222ab1639e6782100a006aec49953a454df766d1

Comment by Githook User [ 21/May/15 ]

Author:

{u'username': u'alabid', u'name': u'Daniel Alabi', u'email': u'alabidan@gmail.com'}

Message: SERVER-18478 Clean up AuthzManagerExternalState

Removed insert/remove/update from the AuthzManagerExternalState* interfaces
Branch: master
https://github.com/mongodb/mongo/commit/c19715f0411f834e761128e64ec24488997383e6

Comment by Githook User [ 21/May/15 ]

Author:

{u'username': u'alabid', u'name': u'Daniel Alabi', u'email': u'alabidan@gmail.com'}

Message: SERVER-18478 Remove unused update*Credentials and upgradeSchema* from the AuthorizationManager interface
Branch: master
https://github.com/mongodb/mongo/commit/87509640447fd785e0fbeb33c7fa87cf824f4c5f

Comment by Githook User [ 18/May/15 ]

Author:

{u'username': u'alabid', u'name': u'Daniel Alabi', u'email': u'alabidan@gmail.com'}

Message: SERVER-18478 Get rid of UpdateGuard and simplify locking for user management commands on mongod
Branch: master
https://github.com/mongodb/mongo/commit/b631186c3bde82f4894b31b58c769a9e83453601

Generated at Thu Feb 08 03:47:48 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.