Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SERVER-35031 Return MaxTimeMSExpired for maxTimeMS timeout | James Wahlin | 2018-07-24 | 1 | -2/+3 |
| | | | | | | Adds a new 'MaxTimeMSExpired' error code, returned when a timeout occurs due to exceeding of maxTimeMS. Timeouts unrelated to maxTimeMS will continue to return 'ExceededTimeLimit'. | ||||
* | SERVER-35115 Separate dbclientinterface.h into several parts, one per class. | Henrik Edin | 2018-06-29 | 1 | -1/+0 |
| | |||||
* | SERVER-35275 rename fail point FP macros, improve docs | Billy Donahue | 2018-05-30 | 1 | -1/+1 |
| | |||||
* | SERVER-34443 Refactor WiredTigerRecoveryUnit and WiredTigerSnapshotManager. ↵ | Louis Williams | 2018-05-15 | 1 | -8/+5 |
| | | | | An enum is now used to indicate at which time to read on a RecoveryUnit. | ||||
* | SERVER-34714 Optimize $or with all always-false children to $alwaysFalse | Charlie Swanson | 2018-05-01 | 1 | -8/+3 |
| | |||||
* | SERVER-34307 replace invariant(false) with MONGO_UNREACHABLE | Benety Goh | 2018-04-04 | 1 | -1/+1 |
| | |||||
* | SERVER-30005: remove $isolated/$atomic option | Nick Zolnierz | 2018-03-21 | 1 | -2/+1 |
| | |||||
* | Revert "SERVER-30005: remove $isolated/$atomic option" | Nick Zolnierz | 2018-03-20 | 1 | -1/+2 |
| | | | | This reverts commit cd950b113ee0d00e88036b2fe6306866c7ba27f9. | ||||
* | SERVER-30005: remove $isolated/$atomic option | Nick Zolnierz | 2018-03-20 | 1 | -2/+1 |
| | |||||
* | SERVER-31802 Rip out more dead master-slave code, and the related concept of ↵ | Andy Schwerin | 2018-03-15 | 1 | -39/+3 |
| | | | | RID. | ||||
* | SERVER-18094 Add 'localOps' parameter to $currentOp to show local mongoS ↵ | Bernard Gorman | 2018-03-15 | 1 | -2/+3 |
| | | | | operations | ||||
* | SERVER-33542 Avoid swallowing error codes from PlanExecutor errors | Charlie Swanson | 2018-03-12 | 1 | -1/+3 |
| | |||||
* | SERVER-33609 Pass readConcernLevel to WiredTigerRecoveryUnit | Xiangyu Yao | 2018-03-09 | 1 | -3/+13 |
| | |||||
* | SERVER-33541 Add readConcern level 'snapshot' support for aggregation. | David Storch | 2018-03-09 | 1 | -2/+1 |
| | |||||
* | SERVER-32638 Rename interruptable to interruptible | Louis Williams | 2018-03-01 | 1 | -1/+1 |
| | |||||
* | SERVER-32638: Allow lock acquisition to be interruptable | Louis Williams | 2018-03-01 | 1 | -0/+1 |
| | |||||
* | SERVER-32367 Clean up the AutoGet* suite of classes | Kaloian Manassiev | 2018-02-14 | 1 | -11/+2 |
| | | | | | | * Get rid of AutoGetCollectionOrViewForReadCommand * Get rid of constructors accepting Lock::DBLock * Always check for shard version, unless the namespace represents a view | ||||
* | SERVER-32912 Ensure that killCursors always invalidates a pinned cursor | Bernard Gorman | 2018-02-13 | 1 | -8/+15 |
| | |||||
* | SERVER-31293 Don't consider readPreference 'primary' as equivalent to ↵ | Bernard Gorman | 2018-01-25 | 1 | -3/+6 |
| | | | | 'slaveOk' in OP_QUERY find path | ||||
* | SERVER-31684 Fix unexpected "operation exceeded time limit" errors | Martin Neupauer | 2017-12-18 | 1 | -1/+3 |
| | | | | | | The changestream queries used an operation context deadline to track a wait time before returning EOF. This occasionaly interfered with normal operation deadlines leading to unexpected errors. | ||||
* | Revert "SERVER-31684 Fix unexpected "operation exceeded time limit" errors" | Spencer Jackson | 2017-12-14 | 1 | -3/+1 |
| | | | | This reverts commit b79e5f04ffc79b5892f89c22b9e5f26a297b1185. | ||||
* | SERVER-31684 Fix unexpected "operation exceeded time limit" errors | Martin Neupauer | 2017-12-12 | 1 | -1/+3 |
| | | | | | | The changestream queries used an operation context deadline to track a wait time before returning EOF. This occasionaly interfered with normal operation deadlines leading to unexpected errors. | ||||
* | SERVER-31873 Make mongos retry findAndModify with txnNumber | Kaloian Manassiev | 2017-11-11 | 1 | -9/+6 |
| | |||||
* | SERVER-17846: Forbid $isolated outside of update/delete user operations | Nick Zolnierz | 2017-10-23 | 1 | -1/+2 |
| | |||||
* | SERVER-30731 Add expr support in MatchExpression outside of aggregation | Tess Avitabile | 2017-10-05 | 1 | -2/+1 |
| | |||||
* | SERVER-27892 Fix find and getMore commands to only check whether they can ↵ | Spencer T Brody | 2017-10-04 | 1 | -14/+18 |
| | | | | run after acquiring locks | ||||
* | SERVER-31117 pin can return unauthorized | Jason Carey | 2017-09-20 | 1 | -1/+1 |
| | | | | | Being too specific about pinCursor error code returns causes an unauthorized legacy getMore to invariant. | ||||
* | SERVER-30410 Ensure executor is saved after tailable cursor time out. | Charlie Swanson | 2017-08-28 | 1 | -14/+6 |
| | |||||
* | SERVER-29840 Add allowed features bitmask to MatchExpressionParser::parse | Tess Avitabile | 2017-08-25 | 1 | -2/+8 |
| | |||||
* | SERVER-29128 Fix performance regression on awaitData with ↵ | Matthew Russotto | 2017-07-17 | 1 | -0/+5 |
| | | | | | | | | lastKnownCommittedOpTime Revert "Revert "SERVER-29128 Make $changeNotification stage return a tailable, awaitData cursor that continuously gives out oplog entries"" This reverts commit d29e92cffcb4db3cdd77b1e53d5d005db6cc309d. | ||||
* | Revert "SERVER-29128 Make $changeNotification stage return a tailable, ↵ | Matthew Russotto | 2017-07-14 | 1 | -5/+0 |
| | | | | | | awaitData cursor that continuously gives out oplog entries" This reverts commit 3bab15739e421e9eed4bf180cbcf5c7392a9a90d. | ||||
* | SERVER-29128 Make $changeNotification stage return a tailable, awaitData ↵ | Matthew Russotto | 2017-07-11 | 1 | -0/+5 |
| | | | | cursor that continuously gives out oplog entries | ||||
* | SERVER-29711 Fix nullptr dereference in OP_GET_MORE view check. | David Storch | 2017-06-19 | 1 | -1/+4 |
| | |||||
* | SERVER-29304 Exclude time spent blocking for awaitData from getMore latency ↵ | David Storch | 2017-06-14 | 1 | -14/+25 |
| | | | | | | | | | | | | | | | | | | reporting. This change applies to various server diagnostics which include latency metrics: the slow query logs, the system.profile collection, top, global operation latency stats, and per-collection operation latency stats. The secs_running and microsecs_running fields reported in currentOp output, on the other hand, will include time spent blocking for awaitData. Furthermore, this change fixes the following: - getMore operations are no longer double-counted. - Lock acquisition times are now consistently included. This fixes a bug in which time spent acquiring locks was accidentally omitted in some cases. | ||||
* | SERVER-29327: Prevent DBDirectClient from storing MaxTimeMS on cursors | Spencer Jackson | 2017-06-05 | 1 | -6/+14 |
| | |||||
* | SERVER-28575 Profile entry for update/delete should contain entire raw ↵ | Tess Avitabile | 2017-05-23 | 1 | -2/+2 |
| | | | | update/delete | ||||
* | SERVER-28327 Revamp cursor timeout logic. | Charlie Swanson | 2017-05-03 | 1 | -3/+0 |
| | | | | | | Instead of tracking the number of idle milliseconds, each ClientCursor tracks its last time of use. This also resolves related issues SERVER-28328 and SERVER-19892. | ||||
* | SERVER-25694 Eliminate race in PlanExecutor cleanup. | Charlie Swanson | 2017-04-13 | 1 | -16/+19 |
| | | | | | | | | | | | Ensures that a collection lock is held in at least MODE_IS while deregistering a PlanExecutor from the cursor manager. Introduces new PlanExecutor::dispose() and ClientCursor::dispose() methods that must be called before destruction of those classes, and ensures they are called before destruction. These calls will thread an OperationContext all the way through to DocumentSource::dispose() for each stage in a Pipeline, which will give DocumentSourceCursor a chance to acquire locks and deregister its PlanExecutor if necessary. | ||||
* | SERVER-9609 Ensure users can only call getMore on cursors they created | Tess Avitabile | 2017-03-22 | 1 | -0/+12 |
| | |||||
* | Revert "SERVER-9609 Ensure users can only call getMore on cursors they created" | Tess Avitabile | 2017-03-21 | 1 | -12/+0 |
| | | | | This reverts commit 9e7974e4b6e2b3fe5e7741dce6549624113af196. | ||||
* | SERVER-9609 Ensure users can only call getMore on cursors they created | Tess Avitabile | 2017-03-17 | 1 | -0/+12 |
| | |||||
* | SERVER-22541 Manage aggregation cursors on global cursor manager. | Charlie Swanson | 2017-03-15 | 1 | -77/+54 |
| | | | | | | Moves registration of aggregation cursors to the global cursor manager. This simplifies the logic for acquiring locks and resolving view namespaces within the getMore and killCursors commands. | ||||
* | SERVER-22541 Refactor RAII locking helpers. | Charlie Swanson | 2017-03-15 | 1 | -6/+6 |
| | | | | | | | | | 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-19758 add support for "executionStats" and "allPlansExecution" to agg ↵ | David Storch | 2017-03-13 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | explain Like other explainable commands, aggregate can now be explained using the explain command, e.g. db.runCommand({explain: {aggregate: ...}, verbosity: "executionStats"}). The existing explain:true flag corresponds to "queryPlanner" mode and is still supported. However, explain:true cannot be specified when explaining aggregate via the explain command. Additional execution information is provided only in the $cursor section of the aggregation explain output. Having aggregation stages themselves track and report execution info is further work. | ||||
* | SERVER-27938 Rename all OperationContext variables to opCtx | Maria van Keulen | 2017-03-07 | 1 | -41/+42 |
| | | | | | | 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-28196 Make legacy query and getMore appear in a consistent format ↵ | Bernard Gorman | 2017-03-07 | 1 | -4/+6 |
| | | | | | | | | across currentOp, profiler and logs Closes #1139 Signed-off-by: David Storch <david.storch@10gen.com> | ||||
* | SERVER-27914 Verify canAcceptWritesForDatabase() is called while the caller ↵ | Matthew Russotto | 2017-03-06 | 1 | -2/+3 |
| | | | | | | holds the global lock This reverts commit 3e5314c3f2be49666ca5d7aa766c934ba7d6cbe9. | ||||
* | Revert "SERVER-26965 Use RAII type for turning off replicated writes." | Matthew Russotto | 2017-03-06 | 1 | -3/+2 |
| | | | | This reverts commit befb3ab22daa1f6e0db54af4caa426cfca1b7cd2. | ||||
* | SERVER-26965 Use RAII type for turning off replicated writes. | Matthew Russotto | 2017-03-06 | 1 | -2/+3 |
| | |||||
* | SERVER-27920 Fix incorrect locking of Client context | Geert Bosch | 2017-02-06 | 1 | -1/+1 |
| |