summaryrefslogtreecommitdiff
path: root/src/mongo/db/operation_context.h
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-66975 Warn upon SASL commands being compressedGabriel Marks2022-07-251-0/+17
|
* SERVER-66353 Add concurrency information to ↵George Wangensteen2022-05-231-1/+7
| | | | OperationContext::setAlwaysInterruptAtStepDownOrUp
* SERVER-65460 Set allowDiskUse to false in read-only modeRomans Kasperovics2022-05-041-1/+1
|
* SERVER-60761 Move the global read-only flag to be an OperationContext functionGregory Wlodarek2022-04-221-0/+13
|
* SERVER-63143 Operation can be interrupted by maxTimeMS timeout while waiting ↵Matthew Russotto2022-02-101-0/+10
| | | | for lock even if _ignoreInterruptsExceptForReplStateChange is set
* SERVER-59647: Test maximum client document size thresholds specfically for ↵Daniel Gottlieb2021-11-241-1/+0
| | | | retryable findAndModify.
* SERVER-60741 Change eligible find operations to not reposition cursors ↵Ian Boros2021-11-181-8/+7
| | | | across getMores
* SERVER-58756 Store stmtIds for the operations in retryable internal ↵Cheahuychou Mao2021-10-291-0/+6
| | | | transactions in applyOps oplog entries
* SERVER-59226 Fix deadlock between uninterruptible profiling operation and ↵Wenbin Zhu2021-09-041-0/+11
| | | | stepdown thread.
* SERVER-58752 Support retrying internal transactions on transient transaction ↵Cheahuychou Mao2021-09-011-0/+19
| | | | errors
* SERVER-58403 Serialize concurrent accesses to OperationContext::_commentJennifer Peshansky2021-07-271-0/+7
|
* SERVER-51334: Only allow the temporary resharding collection on FCV 4.7+Daniel Gottlieb2021-03-241-0/+27
|
* SERVER-53230: Rename cancelation -> cancellation everywhereTyler Seip2021-03-231-5/+5
|
* SERVER-53566: Protect ServiceContext from issuing duplicate operation IDsTyler Seip2021-03-221-3/+8
|
* SERVER-52783: Make tenant_migration_donor_util::checkIfCanReadOrBlock return ↵Andrew Shuvalov2021-01-111-1/+3
| | | | a Future, for now still synchronous
* SERVER-50660 Integrate CancelationTokens with OperationContextMatthew Saltz2020-12-221-0/+14
|
* SERVER-53427 Infrastructure changes to support nested LFR operationsDianna Hohensee2020-12-181-12/+15
| | | | | | | 1) Create a nested lock helper to run lock-free if a higher level lock-free operation is already running. 2) Change LockFreeReadsBlock to use a counter rather than a boolean to accommodate out of order lock helper destructors. 3) Only yield lock-free read state in query yield when NOT recursively locked. 4) Change query stages and plan executor to use new nested lock-free lock helper.
* SERVER-52748 Fix txn-continuing cmds with API params via mongosA. Jesse Jiryu Davis2020-11-111-0/+7
|
* SERVER-51396 Add a LockFreeReadsBlock that sets a flag on the ↵Dianna Hohensee2020-11-021-0/+41
| | | | OperationContext in order to safely bypass RSTL lock invariants for lock-free reads.
* SERVER-46187 When sending commands within the cluster attach maxTimeMSOpOnly ↵Spencer T Brody2020-08-301-0/+14
| | | | with remaining time from the opCtx
* SERVER-49237 Add a way for OperationContexts to opt-in to always getting ↵Spencer T Brody2020-08-251-0/+20
| | | | interrupted at stepdown
* SERVER-49122 Implement dateFromParts expression for date manipulation in SBEEric Cox2020-07-241-0/+7
|
* SERVER-48527 Aborting in-progress transactions on step-up should clear ↵Judah Schvimer2020-06-101-0/+13
| | | | session state before returning
* Revert "SERVER-48527 Aborting in-progress transactions on step-up should ↵Kaloian Manassiev2020-06-091-13/+0
| | | | | | clear session state before returning" This reverts commit c7c78598d530710b1e0c8805bfceb37ccde08604.
* SERVER-48527 Aborting in-progress transactions on step-up should clear ↵Judah Schvimer2020-06-081-0/+13
| | | | session state before returning
* SERVER-48393 Exclude awaitable isMaster from serverStatus latency metricsA. Jesse Jiryu Davis2020-06-051-0/+15
|
* SERVER-48295 Remove operation key in killAndDelistOperationAmirsaman Memaripour2020-05-191-0/+6
|
* SERVER-47117 clear maxTimeMSForHedgedReads delay from the getMore on hedge readsMisha Tyulenev2020-04-161-1/+13
|
* SERVER-44167 Added ability to kill operations by keyBen Caimano2019-12-311-3/+18
| | | | | | There are two patches here really. One of which makes killOp fast to use and visible. The other adds OperationKey to various places and maps it to an internal OpId.
* SERVER-44510 Implement exhaust isMasterTess Avitabile2019-12-161-0/+17
|
* SERVER-43712 mongos use ReadWriteConcernDefaults for RCKevin Pulo2019-11-291-0/+15
|
* SERVER-44368 protect opCtx's Locker with Client lockEric Milkie2019-11-041-2/+4
|
* SERVER-42967 SERVER-42895 SERVER-44086 Expand DiagnosticInfo hooks in ↵Ben Caimano2019-10-211-1/+1
| | | | | | | | | | | 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-3/+3
| | | | OperationContext::waitForConditionOrInterrupt()
* SERVER-29794 Adding a comment to all commandsArun Banala2019-09-241-0/+13
|
* SERVER-42165 Replace uses of stdx::mutex with mongo::MutexBen Caimano2019-09-171-2/+2
|
* SERVER-43324 Add BasicLockableAdaptor for cleaner function APIsAlex Taskov2019-09-141-3/+2
|
* SERVER-40466 Unify checks for being in a multi-document transactionSamy Lanka2019-08-081-0/+17
|
* SERVER-41034 Invariant if we get a prepare conflict inside ↵Vesselina Ratcheva2019-06-051-0/+2
| | | | runWithoutInterruptionExceptAtGlobalShutdown block
* SERVER-39868 Avoid throttling replica set electionsMaria van Keulen2019-05-011-0/+9
| | | | | This patch also ensures secondaries are not throttled and provides a framework to exclude particular operations from being throttled.
* SERVER-40357 expand all calls to MONGO_DISALLOW_COPYINGBilly Donahue2019-03-281-3/+4
| | | | | | | | | | | 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-39960 Simplify opCtx::markKilledJason Carey2019-03-111-19/+0
| | | | | | | | | | | Operation context currently relies on an elaborate dance between the client lock, _waitMutex, _waitCV and _numKillers to allow markKilled to tap the condvar an opctx is waiting on. After the introduction of batons on all opctx's, this is no longer necessary (as batons have their own support for being woken, while waiting on a condvar). Removing the special killing code will simplify opctx, and remove a lot of extra book keeping.
* SERVER-39427 Modify interrupt semantics for opCtxJason Carey2019-03-051-0/+12
| | | | | | | | | | | | * rename opCtx->runWithoutInterruption to runWithoutInterruptionExceptAtGlobalShutdown * add a opCtx->setIsExecutingShutdown method which makes the op immune to all forms of interruption, including global shutdown This clarifies what opCtx->runWithoutInterruption actually did and offers an escape hatch that turns off interruption at process exit for the thread doing cleanup.
* SERVER-39560 - remove leading blank line on all C++ filesBilly Donahue2019-02-131-1/+0
| | | | | | Remove leading comments that are just stating the filename. Move any file-level comments below the copyright banner. Remove leading blank lines.
* SERVER-39150 markKillOnClientDisconnectJason Carey2019-02-101-0/+4
|
* SERVER-39146 Refactor BatonJason Carey2019-02-051-3/+7
| | | | | Refactor the baton into regular and networking batons while also cleaning up the basic baton implementation.
* SERVER-37643 IndexBuildsCoordinatorMongod task inherits CurOp and ↵Benety Goh2019-02-011-0/+5
| | | | | | | | | OperationContext info from caller thread This supports copying an OperationContext's deadline and timeout error across thread boundaries. This also adds OperationContext::getTimeoutError().
* SERVER-38813 Replace AlternativeOpCtx with AlternativeClientRegionSiyuan Zhou2019-01-281-29/+0
|
* SERVER-38677 Remove the invalidations counter from TransactionParticipantKaloian Manassiev2018-12-181-5/+6
|
* SERVER-35879 Reconstitute prepared transactions at end of startup recoverySamy Lanka2018-12-141-0/+29
|