[SERVER-20524] Add new RESOURCE_MUTEX resource type to LockManager Created: 21/Sep/15  Updated: 19/Jul/16  Resolved: 30/Jun/16

Status: Closed
Project: Core Server
Component/s: Concurrency
Affects Version/s: 3.1.8
Fix Version/s: 3.3.10

Type: Improvement Priority: Major - P3
Reporter: Geert Bosch Assignee: Geert Bosch
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-18410 Remove RWLock Closed
Related
is related to SERVER-25116 Replace ScopedZoneOpExclusiveLock wit... Closed
Backwards Compatibility: Fully Compatible
Sprint: QuInt B (11/02/15), QuInt C (11/23/15), Integration F (02/01/16), Integration 10 (02/22/16), Integration 11 (03/14/16), Integration 17 (07/15/16)
Participants:

 Description   

This would be for usage of resources that do not form part of the multi-granularity locking hierarchy, and do not take part in the two-phase locking and yielding policies that the hierarchical resources do.

This could be used for MMAP's MongoFilesShared/MongoFilesExclusive as well as for the catalog manager in sharding.



 Comments   
Comment by Githook User [ 30/Jun/16 ]

Author:

{u'username': u'GeertBosch', u'name': u'Geert Bosch', u'email': u'geert@mongodb.com'}

Message: Reinstate "SERVER-20524: Add new RESOURCE_MUTEX type for use as recursive readers/writers lock"

This reverts commit a8c1b9c48cea581b07c3d777c91adfd7c6a49ccd.
Branch: master
https://github.com/mongodb/mongo/commit/8bd52441c506714be70202acdd402401dbe2b073

Comment by Githook User [ 10/Mar/16 ]

Author:

{u'username': u'GeertBosch', u'name': u'Geert Bosch', u'email': u'geert@mongodb.com'}

Message: SERVER-20524: Fix lint
Branch: master
https://github.com/mongodb/mongo/commit/f380cfbff337cfd45ed51fa3f610f26ef5b2fc5e

Comment by Githook User [ 10/Mar/16 ]

Author:

{u'username': u'GeertBosch', u'name': u'Geert Bosch', u'email': u'geert@mongodb.com'}

Message: Revert "SERVER-20524: Add new RESOURCE_MUTEX type for use as recursive readers/writers lock"

This reverts commit 67e3d403f80367b3fb648b84bd87070675045815.
Branch: master
https://github.com/mongodb/mongo/commit/a8c1b9c48cea581b07c3d777c91adfd7c6a49ccd

Comment by Githook User [ 09/Mar/16 ]

Author:

{u'username': u'GeertBosch', u'name': u'Geert Bosch', u'email': u'geert@mongodb.com'}

Message: SERVER-20524: Add new RESOURCE_MUTEX type for use as recursive readers/writers lock
Branch: master
https://github.com/mongodb/mongo/commit/67e3d403f80367b3fb648b84bd87070675045815

Comment by Githook User [ 09/Mar/16 ]

Author:

{u'username': u'GeertBosch', u'name': u'Geert Bosch', u'email': u'geert@mongodb.com'}

Message: SERVER-20524: Remove unused Locker::hasStrongLocks() method
Branch: master
https://github.com/mongodb/mongo/commit/c25a6ab4aa9ea9e3a059235d55aca6ea13c59363

Comment by Githook User [ 09/Mar/16 ]

Author:

{u'username': u'GeertBosch', u'name': u'Geert Bosch', u'email': u'geert@mongodb.com'}

Message: SERVER-20524: Rename unlockAll to unlockGlobal
Branch: master
https://github.com/mongodb/mongo/commit/b3ff84828ceac501783203480b09cfee8c811a02

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