summaryrefslogtreecommitdiff
path: root/src/mongo/db/concurrency/d_concurrency.h
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-45007 ResourceLock::lock() supports deadlineBenety Goh2020-02-101-1/+3
|
* SERVER-45007 ResourceLock::lock() always requires OperationContextBenety Goh2020-02-101-4/+11
|
* SERVER-43339 Make PBWM respect MaxTimeMSXiangyu Yao2019-09-301-1/+2
| | | | | This only affects the PBWM taken by the Global lock. The PBWM taken by secondary batch application is still uninterruptible.
* SERVER-42186 PersistentTaskQueue implementationAlex Taskov2019-09-261-0/+10
|
* SERVER-38163 Remove enqueue abilities from GlobalLock.Suganthi Mani2019-09-051-20/+0
|
* SERVER-42527 Create CollectionLock constructor that uses UUIDDaniel Solnik2019-08-131-3/+4
|
* SERVER-40498 Side transaction keeps the same lockerSiyuan Zhou2019-05-031-1/+5
|
* SERVER-40688 Make CollectionLock take NamespaceStringGeert Bosch2019-04-171-1/+1
|
* SERVER-40069 Fix global lock tracking for txnsJudah Schvimer2019-04-171-4/+2
| | | | | Includes SERVER-40084, stores global lock acquisition flag in an atomic.
* SERVER-40679 Delete unused OplogIntentWriteLock classGeert Bosch2019-04-161-20/+0
|
* SERVER-40604 Make CollectionLock interruptibleGeert Bosch2019-04-151-7/+2
|
* Revert "SERVER-40069 Fix global lock tracking for txns"Benety Goh2019-03-291-2/+4
| | | | This reverts commit d99db775dbf73e27bd20e402f26f068dc199203d.
* SERVER-40069 Fix global lock tracking for txnsA. Jesse Jiryu Davis2019-03-281-4/+2
| | | | | Includes SERVER-40084, stores global lock acquisition flags in an atomic.
* SERVER-40357 expand all calls to MONGO_DISALLOW_COPYINGBilly Donahue2019-03-281-5/+10
| | | | | | | | | | | produced by: hits="$(git grep -n MONGO_DISALLOW_COPYING | cut -d: -f1 )" for f in "$hits"; do sed -i.orig ' s/^\( *\)MONGO_DISALLOW_COPYING(\(.*\));/\1\2(const \2\&) = delete;\n\1\2\& operator=(const \2\&) = delete;/; ' $f done
* SERVER-38027 SERVER-37268 Partially enable hybrid index builds for ↵Louis Williams2018-11-291-0/+4
| | | | background, non-unique indexes. Change background index builds to use the bulk builder and external sorter
* SERVER-37989 introduce a new ReplicationStateTransitionLock resourceJudah Schvimer2018-11-181-1/+1
|
* SERVER-37651 Update header files with new licenseRamon Fernandez2018-10-221-8/+10
|
* SERVER-36011 Remove MMAPv1 lockmanager supportGeert Bosch2018-07-111-12/+2
|
* SERVER-33674 Require GlobalLocks with deadlines to specify interrupt ↵Louis Williams2018-04-301-5/+34
| | | | behavior when interrupted
* SERVER-34638 Get rid of CollectionLock::relockAsDatabaseExclusiver3.7.7Kaloian Manassiev2018-04-241-11/+0
|
* SERVER-33563 add RAII-style class to opt out of replication's use of ↵Benety Goh2018-03-021-3/+1
| | | | ParallelBatchWriterMode
* SERVER-33222 Don't call abandonSnapshot in GlobalLock destructor when in ↵James Wahlin2018-02-121-5/+9
| | | | WriteUnitOfWork
* SERVER-32682 Use deadline-oriented mechanism for lock timeoutXiangyu Yao2018-02-091-14/+24
|
* SERVER-32682 Allow AutoGet helpers to specify lock timeoutXiangyu Yao2018-02-091-2/+8
|
* SERVER-32682 Change GlobalLock timeout type to MillisecondsXiangyu Yao2018-02-091-6/+6
|
* SERVER-32367 Pull UUID and view resolution out of db_raiiKaloian Manassiev2018-02-021-1/+2
|
* SERVER-32367 Make the Command::parseNs* methods take StringDataKaloian Manassiev2018-02-021-7/+2
|
* SERVER-31879 remove unused synchronization in oplogEric Milkie2017-11-091-7/+0
|
* SERVER-30827 SERVER-30639 Timestamp bulk writes via changes to optime generatorEric Milkie2017-09-121-2/+2
|
* SERVER-29839 Protect from mid-command renames in parseNsOrUUIDMaria van Keulen2017-08-301-4/+17
|
* SERVER-27411: Abandon snapshots before locks are released.Daniel Gottlieb2017-08-221-2/+3
| | | | | | | The storage engine may only be accessed by clients holding the Global lock in at least MODE_IS. Otherwise, during shutdown or in the future, Recover to a Timestamp, there can be a race where the storage engine is accessed while it is being destroyed or expects acquiescence from the system.
* SERVER-30648 Set GlobalLockAcquisitionTracker after we waitForLockJudah Schvimer2017-08-161-1/+5
|
* SERVER-28427 Implement timeouts for the TicketHolderGeert Bosch2017-05-011-2/+5
|
* SERVER-22541 Refactor RAII locking helpers.Charlie Swanson2017-03-151-12/+20
| | | | | | | | | Removes the class 'ScopedTransaction' and moves the responsibility of abandoning the snapshot onto the GlobalLock class. Also renames the AutoGetCollectionForRead class to AutoGetCollectionForReadCommand, and adds a new AutoGetCollectionForRead class. Unlike AutoGetCollectionForReadCommand, this new class will not update the namespace on the CurrentOp object, nor will it add an entry to Top.
* SERVER-27938 Rename all OperationContext variables to opCtxMaria van Keulen2017-03-071-1/+1
| | | | | | This commit is an automated rename of all whole word instances of txn, _txn, and txnPtr to opCtx, _opCtx, and opCtxPtr, respectively in all .cpp and .h files in src/mongo.
* SERVER-18410: Replace RWLock with OperationContext/LockManagerDaniel Gottlieb2017-03-021-0/+4
|
* revert "SERVER-18410: Replace RWLock with OperationContext/LockManager"Daniel Gottlieb2017-02-261-4/+0
| | | | This reverts commit 9c9bbf3318113cfdd4d9b72f493b6ebd23f1837e.
* SERVER-18410: Replace RWLock with OperationContext/LockManagerDaniel Gottlieb2017-02-241-0/+4
|
* SERVER-25373: Add diagnostic labels to ResourceMutex instancesDaniel Gottlieb2016-12-081-1/+7
|
* SERVER-26005 FTDC shouldn't conflict with secondary batch applicationMathias Stearn2016-09-161-1/+2
|
* SERVER-26032 Remove unused GlobalLock constructorKaloian Manassiev2016-09-091-1/+0
|
* SERVER-24242 Lock::ParallelBatchWriterMode sets isBatchWriter while in scopeMathias Stearn2016-08-011-0/+2
|
* Revert "SERVER-24242 Lock::ParallelBatchWriterMode sets isBatchWriter while ↵Benety Goh2016-07-161-2/+0
| | | | | | in scope" This reverts commit 0673f9531be7cbaa8e5477ee28431a28191fe7ed.
* SERVER-24242 Lock::ParallelBatchWriterMode sets isBatchWriter while in scopeMathias Stearn2016-07-151-0/+2
|
* Reinstate "SERVER-20524: Add new RESOURCE_MUTEX type for use as recursive ↵Geert Bosch2016-06-301-0/+46
| | | | | | readers/writers lock" This reverts commit a8c1b9c48cea581b07c3d777c91adfd7c6a49ccd.
* Revert "SERVER-20524: Add new RESOURCE_MUTEX type for use as recursive ↵Geert Bosch2016-03-101-46/+0
| | | | | | readers/writers lock" This reverts commit 67e3d403f80367b3fb648b84bd87070675045815.
* SERVER-20524: Add new RESOURCE_MUTEX type for use as recursive ↵Geert Bosch2016-03-091-0/+46
| | | | readers/writers lock
* SERVER-20673 added support for enqueue-only mode to GlobalLockBenety Goh2015-09-301-1/+14
|
* SERVER-20065 Split resourceCappedInFlight for the local db and other dbsMathias Stearn2015-08-251-1/+2
| | | | | This avoids a 4-thread deadlock by ensuring a consistent lock order with respect to the db lock for the local database.
* SERVER-18022 Read Majority Committed implementation for primary nodesMathias Stearn2015-06-291-0/+7
|