Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SERVER-29262 Retire usage of `OwnedPointerVector` in `write_ops`. | Faustoleyva54 | 2021-12-01 | 1 | -1/+0 |
| | |||||
* | SERVER-61787 Block pushdown of subplanned $match stage | Yoonsoo Kim | 2021-11-30 | 1 | -0/+4 |
| | |||||
* | SERVER-59335 Separate code specific to the classic plan cache | 80741223+jlap199@users.noreply.github.com | 2021-09-02 | 1 | -1/+1 |
| | |||||
* | SERVER-50984 Add CollectionPtr to replace usage of const Collection* | Henrik Edin | 2020-09-26 | 1 | -1/+1 |
| | | | | | | | | | | | | 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-48228 Move slot-based execution engine and supporting changes into ↵ | Martin Neupauer | 2020-06-11 | 1 | -54/+7 |
| | | | | | | | | | | | | | | the master branch This is an initial commit for the slot-based execution engine (SBE) which contains: * Implementation of the core slot-based engine. * The SBE stage builder, which is responsible for translating a QuerySolution tree into an SBE plan. * Other changes necessary for integration with the find command. Co-authored-by: Anton Korshunov <anton.korshunov@mongodb.com> Co-authored-by: Justin Seyster <justin.seyster@mongodb.com> Co-authored-by: David Storch <david.storch@mongodb.com> | ||||
* | SERVER-45406 Plumb ExpressionContext through PlanStage | Ian Boros | 2020-02-28 | 1 | -1/+1 |
| | | | | This patch includes also moves ownership of the collator to the ExpressionContext. | ||||
* | SERVER-39339 Remove `stdx/memory.h` | ADAM David Alan Martin | 2019-06-10 | 1 | -1/+0 |
| | |||||
* | SERVER-40357 expand all calls to MONGO_DISALLOW_COPYING | Billy Donahue | 2019-03-28 | 1 | -1/+2 |
| | | | | | | | | | | | 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-39560 - remove leading blank line on all C++ files | Billy Donahue | 2019-02-13 | 1 | -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-37449 Add RequiresAllIndicesStage and use for subplanning and ↵ | David Storch | 2018-12-10 | 1 | -7/+2 |
| | | | | | | | | multiplanning. These stages hold the collection's list of indices during plan selection, and expect all indices in this list to remain valid until plan selection completes. | ||||
* | SERVER-37447 Introduce RequiresIndexStage and use for IXSCAN. | David Storch | 2018-11-27 | 1 | -2/+2 |
| | |||||
* | SERVER-37446 Make more PlanStages inherit from RequiresCollectionStage. | David Storch | 2018-11-07 | 1 | -6/+8 |
| | |||||
* | SERVER-37651 Update header files with new license | Ramon Fernandez | 2018-10-22 | 1 | -8/+10 |
| | |||||
* | SERVER-35333 caching plans for allPaths indexes | Ian Boros | 2018-08-31 | 1 | -1/+1 |
| | |||||
* | SERVER-35031 Return MaxTimeMSExpired for maxTimeMS timeout | James Wahlin | 2018-07-24 | 1 | -1/+1 |
| | | | | | | 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-32189 Delete dead SubplanStage handling for contained $or queries. | David Storch | 2017-12-13 | 1 | -13/+0 |
| | |||||
* | SERVER-30410 Ensure executor is saved after tailable cursor time out. | Charlie Swanson | 2017-08-28 | 1 | -1/+2 |
| | |||||
* | SERVER-27975 Remove many uses of `OwnedPointerVector` | ADAM David Alan Martin | 2017-03-10 | 1 | -2/+4 |
| | | | | | This removes many of the remaining uses of the deprecated `OwnedPointerVector` type. | ||||
* | SERVER-27938 Rename all OperationContext variables to opCtx | Maria van Keulen | 2017-03-07 | 1 | -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-24239 Allow creation of indexes with the same key pattern. | David Hatch | 2016-07-28 | 1 | -1/+2 |
| | |||||
* | SERVER-24761 Abort entire query plan when a catalog operation occurs. | Max Hirschhorn | 2016-07-14 | 1 | -1/+2 |
| | | | | | | Plan execution cannot proceed if the collection or a candidate index was dropped during a yield. This prevents the subplanner from trying to build plan stages when the collection and indexes no longer exist. | ||||
* | SERVER-23099 DocumentSourceCursor always retrieves output sort from ↵ | Benjamin Murphy | 2016-04-26 | 1 | -0/+8 |
| | | | | PlanExecutor. | ||||
* | SERVER-19377 PlanStage: make work() non-virt, add virt method doWork() | Jason Rassi | 2016-01-14 | 1 | -1/+1 |
| | | | | | Changes PlanStage::work() to be non-virtual. PlanStage::work() now updates _commonStats and calls new pure virtual method doWork(). | ||||
* | SERVER-19364 move query stage OperationContext pointer management into the ↵ | Qingyang Chen | 2015-08-04 | 1 | -5/+0 |
| | | | | base class | ||||
* | SERVER-19456 Use final designators where appropriate in PlanStages | Mathias Stearn | 2015-07-23 | 1 | -6/+6 |
| | |||||
* | SERVER-17364 Don't stash RecoveryUnits across getMores | Mathias Stearn | 2015-07-16 | 1 | -1/+1 |
| | | | | | | | We now tell PlanExecutors to detach from their OperationContexts and to shed all storage engine resources before stashing the ClientCursor. This is a heavier weight operation than a normal save/restoreState which is no longer allowed to change the OperationContext. | ||||
* | SERVER-17364 Unify handling of child stages into PlanStage base class | Mathias Stearn | 2015-07-16 | 1 | -11/+1 |
| | | | | This is prep for adding more methods that need to propagate to children. | ||||
* | SERVER-13732 rewrite contained $or queries to rooted $or in the SubplanStage | David Storch | 2015-07-10 | 1 | -0/+19 |
| | | | | | | This allows queries with an $or contained within an explicit or implicit $and to be answered with more efficient plans. It also expands the use of the SubplanStage to include contained $or queries and therefore may reduce the number of plans considered for these queries. | ||||
* | SERVER-16889.5 PlanExecutor::getStats() and PlanStage::getStats() return ↵ | Qingyang Chen | 2015-06-29 | 1 | -1/+1 |
| | | | | unique_ptr | ||||
* | SERVER-18579: Clang-Format - reformat code, no comment reflow | Mark Benvenuto | 2015-06-20 | 1 | -141/+144 |
| | |||||
* | SERVER-17308 Replace boost::scoped_ptr<T> with std::unique_ptr<T> | Andrew Morrow | 2015-06-10 | 1 | -5/+4 |
| | |||||
* | SERVER-17633 add const qualifiers to PlanStage and Explain interfaces | David Storch | 2015-04-17 | 1 | -2/+2 |
| | |||||
* | SERVER-17328 add invariant that collection is non-null to planning stages ↵ | David Storch | 2015-04-14 | 1 | -0/+1 |
| | | | | (CachedPlan/Subplan/MultiPlan) | ||||
* | SERVER-15886 SubplanStage tries to plan each branch from the cache | David Storch | 2014-12-01 | 1 | -16/+53 |
| | | | | Fixes a bug in which the SubplanStage could put a bad plan into the plan cache. | ||||
* | SERVER-13679 Replace DiskLoc with RecordId outside of MMAPv1 | Mathias Stearn | 2014-11-26 | 1 | -1/+1 |
| | | | | | | | | | | | Operations: sed -i -e 's/\<DiskLoc\>/RecordId/g' sed -i -e 's/\<DiskLocs\>/RecordIds/g' sed -i -e 's/\<minDiskLoc\>/RecordId::min()/g' sed -i -e 's/\<maxDiskLoc\>/RecordId::max()/g' sed -i -e 's/\<getDiskLoc\>/getRecordId/g'' Changes under mmap_v1 were reverted and redone by hand as needed. | ||||
* | SERVER-13679 Add record_id.h and move diskloc.h under mmap_v1 | Mathias Stearn | 2014-11-26 | 1 | -1/+1 |
| | |||||
* | SERVER-15675 PlanStage::invalidate() needs OperationContext | Jason Rassi | 2014-11-20 | 1 | -1/+1 |
| | | | | | | | PlanStage::invalidate() is always called by a different thread than the stage's owning thread. The method should use the active OperationContext (the caller's) rather than the stage's OperationContext. | ||||
* | SERVER-15758 fix leak of single query solution in SubplanStage | David Storch | 2014-11-03 | 1 | -4/+6 |
| | |||||
* | SERVER-15541 SERVER-15652 implement timing-based yielding | David Storch | 2014-10-21 | 1 | -19/+29 |
| | |||||
* | SERVER-14633 rename prepareToYield() and recoverFromYield() to saveState() ↵ | David Storch | 2014-07-29 | 1 | -2/+2 |
| | | | | | | and restoreState() Also renames PlanExecutor::getStages() to PlanExecutor::getRootStage() | ||||
* | SERVER-14407 replace Runner with PlanExecutor | David Storch | 2014-07-22 | 1 | -1/+1 |
| | |||||
* | SERVER-14408 access stats directly from execution stages | David Storch | 2014-07-08 | 1 | -15/+16 |
| | |||||
* | SERVER-14387 Propogate OperationContext through calls requiring document ↵ | Craig Harris | 2014-07-08 | 1 | -3/+10 |
| | | | | read locks, without doing the locking. | ||||
* | SERVER-14097 SERVER-14098 execution-level explain for .find() and .count() | David Storch | 2014-06-27 | 1 | -0/+138 |
The explain implementation for .find() and .count() is feature complete. To use the .find() implementation, set the enableNewExplain setParameter to true. Count operations are explained through the new explain command, e.g. db.runCommand({explain: {count: "coll", query: {foo: "bar"}}}). |