[SERVER-18410] Remove RWLock Created: 11/May/15  Updated: 05/Apr/17  Resolved: 02/Mar/17

Status: Closed
Project: Core Server
Component/s: Concurrency, MMAPv1
Affects Version/s: None
Fix Version/s: 3.5.4

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

Issue Links:
Depends
depends on SERVER-20218 Detect inconsistent lock ordering Closed
depends on SERVER-20524 Add new RESOURCE_MUTEX resource type ... Closed
is depended on by SERVER-27458 Remove non-SSL Windows and OS X builds Closed
is depended on by SERVER-26539 Stop linking boost::thread Closed
is depended on by SERVER-26540 Stop linking boost::chrono Closed
is depended on by SERVER-28083 Remove Win2008 R2+ Windows Builders Closed
Related
Backwards Compatibility: Fully Compatible
Sprint: Storage 2017-03-06
Participants:
Linked BF Score: 0

 Description   

After SERVER-18190, the RWLock class and its descendants are now only used by MMAPv1. The current usage should be replaced by LockManager managed locks.



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

Author:

{u'username': u'dgottlieb', u'name': u'Daniel Gottlieb', u'email': u'daniel.gottlieb@10gen.com'}

Message: SERVER-18410: Replace RWLock with OperationContext/LockManager
Branch: master
https://github.com/mongodb/mongo/commit/6753fb211150d85eed71a84393bd13f2a07a8865

Comment by Githook User [ 26/Feb/17 ]

Author:

{u'username': u'dgottlieb', u'name': u'Daniel Gottlieb', u'email': u'daniel.gottlieb@10gen.com'}

Message: revert "SERVER-18410: Replace RWLock with OperationContext/LockManager"

This reverts commit 9c9bbf3318113cfdd4d9b72f493b6ebd23f1837e.
Branch: master
https://github.com/mongodb/mongo/commit/b94dd91adb6d8859ab5e5f91731be2e8571eed0c

Comment by Githook User [ 24/Feb/17 ]

Author:

{u'username': u'dgottlieb', u'name': u'Daniel Gottlieb', u'email': u'daniel.gottlieb@10gen.com'}

Message: SERVER-18410: Replace RWLock with OperationContext/LockManager
Branch: master
https://github.com/mongodb/mongo/commit/9c9bbf3318113cfdd4d9b72f493b6ebd23f1837e

Comment by Eric Milkie [ 09/Dec/16 ]

I suspect that we might just be able to drop in std::shared_timed_mutex for this, as it is new in C++14.

Comment by Eric Milkie [ 30/Nov/16 ]

Is SERVER-20218 still a prerequisite for this work?

Comment by Githook User [ 12/May/15 ]

Author:

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

Message: SERVER-18410: Move MMAPv1 specific libraries from util to db/storage/mmap_v1

Also removes some dependencies on MMAP_v1 specific files that are not
needed anymore, and moves the 'paths' library to db/storage.
Branch: master
https://github.com/mongodb/mongo/commit/4486be04b169d967683ce705b6288c82cbd34947

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