summaryrefslogtreecommitdiff
path: root/src/mongo/db/concurrency
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-53364 Fix ticket acquisition timeout error messageDan Larkin-York2021-01-131-1/+1
|
* SERVER-52835 Nested LFR lock helpers should read from copied CollectionCatalogDianna Hohensee2021-01-081-0/+5
|
* SERVER-50870 Establish consistent storage snapshot with the refreshed ↵Henrik Edin2020-11-173-8/+53
| | | | Collection after yielding
* SERVER-52556 Versioned CollectionCatalog. Writes are performed using ↵Henrik Edin2020-11-132-5/+4
| | | | | | | copy-on-write. Internal mutexes when reading CollectionCatalog are removed, just one mutex for writes are needed. Lock-free reads helper AutoGetCollectionForReadLockFree stashes a CollectionCatalog consistent with snapshot on OperationContext
* SERVER-38289 Teach objects builders how to build idl files.Daniel Moody2020-10-221-1/+1
|
* SERVER-48796 Implement recipientSyncData command in MigrationServiceInstance.Suganthi Mani2020-10-191-4/+18
|
* SERVER-49798 Added LIBDEPS_TYPEINFO for ubsan builds to add typeinfo ↵Daniel Moody2020-10-091-0/+3
| | | | dependencies.
* SERVER-50678 Implement lock-free version of AutoGetCollectionDianna Hohensee2020-10-082-11/+33
|
* SERVER-50984 Add CollectionPtr to replace usage of const Collection*Henrik Edin2020-09-261-2/+2
| | | | | | | | | | | | It implements a yieldable interface that is used to re-load the Collection pointer from the catalog after a yield that released locks. With lock-free reads and copy-on-write on Collection instances releasing locks without notifying an AutoGetCollection at a higher level may cause its pointers to dangle if a MODE_X writer installs a new Collection instance in the catalog. CollectionPtr should be passed by const reference so a yield can notify all the way up.
* SERVER-50924 Suppress TSAN for LockerImpl::getLockerInfo()Gregory Wlodarek2020-09-181-0/+7
|
* SERVER-50317 Const correct uses of CollectionHenrik Edin2020-09-021-1/+1
| | | | | | Most of the code should only need a const Collection now. AutoGetCollection returns a const Collection by default. There is a placeholder getWritableCollection() interface that will handle the necessary steps we need for lock free reads in the future. Added some operators to AutoGetCollection so it behaves more like a smart pointer.
* SERVER-49703 Added libdep linter alphabetic rule and update all libdeps list ↵Daniel Moody2020-08-271-1/+1
| | | | to be alphabetical
* SERVER-50502 The lock manager dump logv2 message needs ↵Dianna Hohensee2020-08-271-1/+5
| | | | logv2::LogTruncation::Disabled set so that lock dumps are not truncated
* SERVER-48312 Remove support for 'supportsDocLocking = false'Gregory Wlodarek2020-08-044-51/+11
|
* SERVER-49396 Only activate skipWriteConflictRetries failpoint for user ↵Louis Williams2020-07-271-2/+6
| | | | connections
* SERVER-38987 Replace ephemeralForTest storage engine with biggie implementationHenrik Edin2020-07-171-8/+3
| | | | | | | | ephemeralForTest is now a document level locking engine unittests instantiate the oplog as it is required with doc-level locking engines Added a 'incompatible_with_eft' tag for tests that don't work with this engine for different reasons. Many concurrency suites are disabled due to excessive memory usage
* SERVER-48878 Remove adminDB special case for X-locksSara Golemon2020-07-022-8/+2
|
* SERVER-43040 Remove the unit test used only variation of ↵Bynn Lee2020-07-016-72/+120
| | | | LockerImpl::lockGlobal that passes in a nullptr for opCtx
* SERVER-49047 Move all usages of the lock request status in LockManager under ↵Gregory Noma2020-06-291-12/+13
| | | | the bucket mutex or the partition mutex
* SERVER-48972 Keep track of waiting resource in LockerImplGregory Noma2020-06-232-11/+16
|
* SERVER-49011 Prevent concurrent calls to ProgressMeter::hit() in ↵Gregory Noma2020-06-231-5/+7
| | | | d_concurrency_test
* SERVER-44505 Remove support for supportsDBLocking = falseYuhong Zhang2020-06-181-10/+2
|
* SERVER-47075 Clean up some log linesGabriel Russell2020-06-021-1/+1
| | | | | | * all logs under mongo/transport and mongo/util/net were reviewed and many were cleaned up * all "status"_attr were reviewed and most changed to "error"_attr
* SERVER-46698 Invariant that operations holding open an oplog hole cannot ↵Jamie Heppenstall2020-05-122-1/+11
| | | | call blocking functions
* SERVER-47735 change mongo source over to logv2Billy Donahue2020-04-267-7/+7
| | | | | | - Remove several legacy logger/ files - Convert all MONGO_LOG_DEFAULT_COMPONENT to the LOGV2 version. - Globally replace logger::{LogSeverity,LogComponent} => logv2::
* SERVER-47397 enhanced logging for Execution owned files (part 2)Eric Milkie2020-04-221-2/+3
|
* SERVER-47397 enhanced logging for Execution owned files (part 1)Eric Milkie2020-04-221-1/+5
|
* SERVER-46127 unit tests log to a kTest componentGabriel Russell2020-04-143-3/+3
|
* SERVER-46411 Update logAndBackoff to have a logv2 style interfaceHenrik Edin2020-03-191-2/+3
|
* SERVER-45881: Bypass flow control on txn metadata operations.Daniel Gottlieb2020-03-131-1/+1
|
* SERVER-46360 LockManager logging improvement (and lockInfo)Billy Donahue2020-03-102-151/+84
|
* SERVER-46360 LockManager dump improvementsBilly Donahue2020-02-282-14/+26
|
* SERVER-46404 Remove shouldLog from logger V1 APIMark Benvenuto2020-02-281-2/+3
|
* SERVER-45567 removing util/log.h where I canGabriel Russell2020-02-218-8/+0
| | | | | | | o converting some log lines that were missed o fixing some missing includes create mode 100644 src/mongo/transport/ismaster_metrics.cpp
* SERVER-45869 automatically converted structured loggingGabriel Russell2020-02-135-13/+34
|
* SERVER-45007 PBWM lock acquisition in GlobalLock supports deadlineBenety Goh2020-02-102-1/+19
|
* SERVER-45007 ResourceLock::lock() supports deadlineBenety Goh2020-02-102-3/+5
|
* SERVER-45007 ResourceLock::lock() always requires OperationContextBenety Goh2020-02-103-10/+13
|
* SERVER-45662 Update Flow Control timeAcquiringMicros in currentOpMaria van Keulen2020-01-231-1/+3
| | | | | This patch also bumps the RamLog byte limit for log lines to be 2048 bytes per line to allow checkLog-based tests to pass as of this change.
* SERVER-45524 remove support for logging void * typesGabriel Russell2020-01-161-1/+1
|
* SERVER-45006 LockerImpl::wasGlobalLockTaken() returns correct valueTess Avitabile2020-01-162-1/+15
|
* SERVER-45135 Make the 'failNonIntentLocksIfWaitNeeded' fail point only throw ↵Gregory Wlodarek2019-12-173-13/+36
| | | | LockTimeout for user operations
* SERVER-43859: Take MODE_IX locks for collection creation.Daniel Gottlieb2019-11-261-2/+2
| | | | | | | | | | | | | | | | | Two concurrent storage transactions can now create collections with the same collection name. These transactions will conflict at commit time; the first committer will win and register their collection into the global catalog. The losing transactions will bubble a WriteConflictException. Top-level callers that should fail if the collection already existed must now check and fail with a NamespaceExists error code. Previously, those callers could rely on lower level code returning the NamespaceExists error. Callers that were implicitly creating a collection may retry the operation, using the now-registered collection. These transaction-local collections (UncommittedCollections) are returned when doing any CollectionCatalog::lookup* call.
* SERVER-44368 protect opCtx's Locker with Client lockEric Milkie2019-11-042-26/+26
|
* SERVER-43685 Move snapshot id handling above storage API.David Storch2019-10-241-3/+4
| | | | | | This ensures that all storage engines support tracking of snapshot ids, and by extenion, allows the query system to rely on the validity of these ids for all engines.
* SERVER-42967 SERVER-42895 SERVER-44086 Expand DiagnosticInfo hooks in ↵Ben Caimano2019-10-212-2/+2
| | | | | | | | | | | Interruptible and Mutex This commit: - Adds Listener hooks for Interruptible - Expands Listener hooks for Mutex - Updates the DiagnosticInfo and its tests to use the new hooks - Removes stacktracing pieces from DiagnosticInfo and its tests - Removes mongo::ConditionVariable entirely in favor of Interruptible
* SERVER-43987 Require predicates with ↵Ben Caimano2019-10-171-24/+18
| | | | OperationContext::waitForConditionOrInterrupt()
* SERVER-43910 LockManager::dump() includes client infoBenety Goh2019-10-112-7/+24
|
* SERVER-43910 lockInfo command obtains lock to client info mapping from ↵Benety Goh2019-10-112-0/+34
| | | | LockManager
* SERVER-43910 lockInfo command output includes Locker::getDebugInfo()Benety Goh2019-10-111-0/+1
|