Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SERVER-28819 fix typo in PlanExecutor invariant | David Storch | 2017-04-17 | 1 | -1/+1 |
| | |||||
* | SERVER-28657 Resolve missing edges and repair deps | ADAM David Alan Martin | 2017-04-14 | 1 | -4/+6 |
| | | | | | | | | | | | | A number of edges can now be resolved. A few libraries were made fully resolved by breaking the few TUs that depend upon cycles into their own sub-libraries. This should help prevent the appearance of hidden cycles, as we progress towards a cycle-free graph. One library was missed as a cyclical-dependant of catalog in the graph rotation of `catalog` to resolved. This library was cut from `catalog` to present remainging hidden cycles into `catalog`. | ||||
* | SERVER-25694 Eliminate race in PlanExecutor cleanup. | Charlie Swanson | 2017-04-13 | 10 | -388/+418 |
| | | | | | | | | | | | 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-28507 Centralize ignored fields in command implementations | Mathias Stearn | 2017-04-12 | 3 | -41/+43 |
| | |||||
* | SERVER-28040 Fix maxTimeMS/readPref/readConcern for sharded view query | James Wahlin | 2017-04-05 | 9 | -57/+382 |
| | |||||
* | SERVER-28478 Create ArrayFilter class and implement parsing of arrayFilters ↵ | Tess Avitabile | 2017-04-04 | 3 | -0/+97 |
| | | | | in ParsedUpdate | ||||
* | SERVER-28211 added InternalPlanner::updateWithIdHack() | Benety Goh | 2017-04-03 | 3 | -5/+40 |
| | |||||
* | SERVER-9609 Ensure users can only call getMore on cursors they created | Tess Avitabile | 2017-03-22 | 1 | -0/+12 |
| | |||||
* | SERVER-28425 fix QueryPlannerAccess invariant | David Storch | 2017-03-22 | 1 | -1/+1 |
| | |||||
* | SERVER-26113 explain() for aggregation request does not propogate to ↵ | Nick Zolnierz | 2017-03-21 | 1 | -5/+4 |
| | | | | | | | | | | | | corresponding 'QueryRequest' Small change to bug fix, and adding explain.js test. Formatting changes Missed formatting Incorporating CR feedback | ||||
* | 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-28314 Remove unused PlanCache::_writeOperations member | Geert Bosch | 2017-03-16 | 2 | -5/+0 |
| | |||||
* | SERVER-22541 Manage aggregation cursors on global cursor manager. | Charlie Swanson | 2017-03-15 | 9 | -120/+104 |
| | | | | | | 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-28128 Add support for a "comment" parameter to the aggregate... | Bernard Gorman | 2017-03-15 | 2 | -6/+10 |
| | | | ... command | ||||
* | SERVER-19758 add support for "executionStats" and "allPlansExecution" to agg ↵ | David Storch | 2017-03-13 | 15 | -219/+362 |
| | | | | | | | | | | | | | | | | | 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-27975 Remove many uses of `OwnedPointerVector` | ADAM David Alan Martin | 2017-03-10 | 8 | -33/+50 |
| | | | | | This removes many of the remaining uses of the deprecated `OwnedPointerVector` type. | ||||
* | SERVER-27938 Fix compile issues and typos in txn to opCtx rename | Maria van Keulen | 2017-03-07 | 3 | -13/+7 |
| | |||||
* | SERVER-27938 Rename all OperationContext variables to opCtx | Maria van Keulen | 2017-03-07 | 23 | -304/+312 |
| | | | | | | 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 | 2 | -4/+5 |
| | | | | | | holds the global lock This reverts commit 3e5314c3f2be49666ca5d7aa766c934ba7d6cbe9. | ||||
* | Revert "SERVER-26965 Use RAII type for turning off replicated writes." | Matthew Russotto | 2017-03-06 | 2 | -5/+4 |
| | | | | This reverts commit befb3ab22daa1f6e0db54af4caa426cfca1b7cd2. | ||||
* | SERVER-26965 Use RAII type for turning off replicated writes. | Matthew Russotto | 2017-03-06 | 2 | -4/+5 |
| | |||||
* | SERVER-18410: Replace RWLock with OperationContext/LockManager | Daniel Gottlieb | 2017-03-02 | 1 | -1/+1 |
| | |||||
* | SERVER-27904 Extend support for moving predicates into contained ORs to ↵ | Tess Avitabile | 2017-02-28 | 8 | -313/+948 |
| | | | | multikey indexes | ||||
* | revert "SERVER-18410: Replace RWLock with OperationContext/LockManager" | Daniel Gottlieb | 2017-02-26 | 1 | -1/+1 |
| | | | | This reverts commit 9c9bbf3318113cfdd4d9b72f493b6ebd23f1837e. | ||||
* | SERVER-2104 add support for covered projections with dotted field paths | David Storch | 2017-02-24 | 6 | -28/+26 |
| | | | | | | For example, suppose you have index {"a.b": 1}. The projection {_id: 0, "a.b": 1} will now result in a covered plan when this index is used. | ||||
* | SERVER-18410: Replace RWLock with OperationContext/LockManager | Daniel Gottlieb | 2017-02-24 | 1 | -1/+1 |
| | |||||
* | SERVER-13732 Index access plan for contained OR should consider top-level ↵ | Tess Avitabile | 2017-02-17 | 13 | -107/+1598 |
| | | | | predicates | ||||
* | SERVER-27644 $unwind arrays when performing distinct on a view | Kyle Suarez | 2017-02-07 | 2 | -1/+26 |
| | |||||
* | SERVER-27920 Fix incorrect locking of Client context | Geert Bosch | 2017-02-06 | 1 | -1/+1 |
| | |||||
* | SERVER-27848 Add index hint to aggregation and non-materialized views | James Wahlin | 2017-02-03 | 6 | -22/+58 |
| | |||||
* | SERVER-27438 Prevent mongos from dropping legacy $comment meta-operator | Bernard Gorman | 2017-01-18 | 3 | -2/+59 |
| | | | | | | Closes #1135 Signed-off-by: James Wahlin <james.wahlin@10gen.com> | ||||
* | Revert "SERVER-27438 Prevent mongos from dropping legacy $comment meta-operator" | Mathias Stearn | 2017-01-18 | 3 | -59/+2 |
| | | | | This reverts commit 0eeb9396ff46269c2181e5d4aeab629863d875d4. | ||||
* | SERVER-27438 Prevent mongos from dropping legacy $comment meta-operator | Bernard Gorman | 2017-01-18 | 3 | -2/+59 |
| | | | | | | Closes #1135 Signed-off-by: James Wahlin <james.wahlin@10gen.com> | ||||
* | SERVER-27709 Remove cycles & change incomplete tag | ADAM David Alan Martin | 2017-01-17 | 1 | -4/+9 |
| | | | | | | | Allow `incomplete` for the time being to prevent breaking code in enterprise. The cycle/incomplete exemption has been renamed to `illegal_cyclic_or_unresolved_dependencies_whitelisted`, to discourage overuse. Removed the incompletes that we can. | ||||
* | SERVER-24027 Planner should consider reversing index scan direction in order ↵ | Tess Avitabile | 2017-01-13 | 3 | -55/+154 |
| | | | | to obtain a SORT_MERGE plan | ||||
* | SERVER-24623 Remove single document aggregation result option | Tess Avitabile | 2017-01-13 | 3 | -12/+8 |
| | |||||
* | SERVER-3173 use path-level multikey metadata to generate covered plans if ↵ | David Storch | 2017-01-13 | 3 | -6/+114 |
| | | | | | | | possible This allows queries using a multikey index which project out the array fields to avoid collection access. | ||||
* | SERVER-27586 Add some missing edges to build graph | ADAM David Alan Martin | 2017-01-05 | 1 | -3/+4 |
| | | | | | This also remove an incompletes tag on libraries which are now fully resolved. | ||||
* | SERVER-25932 Make MONGO_EXPORT_SERVER_PARAMETER use AtomicWord instead of ↵ | Mark Benvenuto | 2017-01-05 | 16 | -69/+66 |
| | | | | std::atomic | ||||
* | SERVER-27497 Scope SCons Environment changes narrowly | Andrew Morrow | 2017-01-03 | 1 | -0/+5 |
| | |||||
* | SERVER-27175 Improve performance of planSummary string generation | James Wahlin | 2016-12-27 | 1 | -13/+21 |
| | |||||
* | SERVER-27406 Reduce DocumentSourceCursor batch size from 16MB to 4MB | James Wahlin | 2016-12-27 | 2 | -0/+4 |
| | |||||
* | SERVER-24128 reject embedded null bytes in namespace string parsing | David Storch | 2016-12-09 | 3 | -14/+11 |
| | |||||
* | SERVER-26960 don't convert find to aggregation if sort contains $natural | Kyle Suarez | 2016-12-09 | 1 | -1/+9 |
| | |||||
* | SERVER-27300 fail indexing of the Symbol type when the collation is non-simple | David Storch | 2016-12-08 | 2 | -0/+49 |
| | |||||
* | SERVER-27300 delete dead function shouldUseCollationIndexKey() | David Storch | 2016-12-07 | 3 | -33/+12 |
| | |||||
* | SERVER-27197 fix BSONType::Code comparison to not use collator | David Storch | 2016-12-06 | 1 | -0/+103 |
| |