summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec/fetch.h
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-50984 Add CollectionPtr to replace usage of const Collection*Henrik Edin2020-09-261-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-45406 Plumb ExpressionContext through PlanStageIan Boros2020-02-281-1/+1
| | | | This patch includes also moves ownership of the collator to the ExpressionContext.
* SERVER-42852 Make PlanStage consistently hold children by unique_ptr.David Storch2019-09-041-1/+1
|
* 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-37447 Introduce RequiresIndexStage and use for IXSCAN.David Storch2018-11-271-2/+2
|
* SERVER-37445 Make FETCH stage check collection validity on restoreState().David Storch2018-10-311-7/+7
|
* SERVER-37651 Update header files with new licenseRamon Fernandez2018-10-221-8/+10
|
* SERVER-16857 Delete MMAPv1 diskloc invalidations.David Storch2018-08-291-1/+0
| | | | | | - Removes of PlanStage::invalidate(). - Removes RecordCursor::invalidate() from the storage API. - Removes CursorManager::invalidateDocument().
* SERVER-27938 Rename all OperationContext variables to opCtxMaria van Keulen2017-03-071-2/+2
| | | | | | 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-18826 Rename WorkingSet State Names from LOC to RIDJames Wahlin2016-02-051-2/+2
| | | | | | Also renamed: * WorkingSetMember::hasLoc() -> WorkingSetMember::hasRecordId * WorkingSetMember::loc -> WorkingSetMember::recordId
* SERVER-19377 PlanStage: make work() non-virt, add virt method doWork()Jason Rassi2016-01-141-1/+1
| | | | | Changes PlanStage::work() to be non-virtual. PlanStage::work() now updates _commonStats and calls new pure virtual method doWork().
* SERVER-19708: Move RecordCursor::seekExact to derived SeekableRecordStore classGeert Bosch2015-08-281-2/+2
|
* SERVER-19364 move query stage OperationContext pointer management into the ↵Qingyang Chen2015-08-041-3/+1
| | | | base class
* SERVER-19456 Use final designators where appropriate in PlanStagesMathias Stearn2015-07-231-10/+10
|
* SERVER-17364 Don't stash RecoveryUnits across getMoresMathias Stearn2015-07-161-1/+3
| | | | | | | 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 classMathias Stearn2015-07-161-9/+3
| | | | This is prep for adding more methods that need to propagate to children.
* SERVER-18961 avoid iterating the entire working set when preparing for a ↵David Storch2015-07-011-1/+1
| | | | | | | WiredTiger snapshot change Improves performance for query plans with a blocking stage when using the WiredTiger storage engine. In particular, full text search and geoNear queries should benefit.
* SERVER-16889.5 PlanExecutor::getStats() and PlanStage::getStats() return ↵Qingyang Chen2015-06-291-1/+1
| | | | unique_ptr
* SERVER-18579: Clang-Format - reformat code, no comment reflowMark Benvenuto2015-06-201-53/+53
|
* SERVER-16444 New API for navigating RecordStoresMathias Stearn2015-06-091-2/+6
|
* SERVER-17633 add const qualifiers to PlanStage and Explain interfacesDavid Storch2015-04-171-2/+2
|
* SERVER-17062 Make query execution handle WriteConflictExceptions where possibleMathias Stearn2015-02-131-13/+2
|
* SERVER-13256 Remove scoped_ptr from pch.hAndrew Morrow2015-01-051-1/+3
|
* SERVER-13679 Replace DiskLoc with RecordId outside of MMAPv1Mathias Stearn2014-11-261-4/+4
| | | | | | | | | | | 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_v1Mathias Stearn2014-11-261-1/+1
|
* SERVER-15675 PlanStage::invalidate() needs OperationContextJason Rassi2014-11-201-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-15665 MMAP v1 requests yields during page faults via NEED_FETCHDavid Storch2014-11-041-0/+14
|
* SERVER-13635: OperationContext on read pathsEliot Horowitz2014-08-251-4/+7
|
* SERVER-14633 rename prepareToYield() and recoverFromYield() to saveState() ↵David Storch2014-07-291-2/+2
| | | | | | and restoreState() Also renames PlanExecutor::getStages() to PlanExecutor::getRootStage()
* SERVER-14407 replace Runner with PlanExecutorDavid Storch2014-07-221-1/+1
|
* SERVER-14408 access stats directly from execution stagesDavid Storch2014-07-081-0/+4
|
* SERVER-14097 SERVER-14098 execution-level explain for .find() and .count()David Storch2014-06-271-0/+4
| | | | | | | | 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"}}}).
* SERVER-14096 explain find() at queryPlanner verbosityDavid Storch2014-06-111-0/+2
| | | | Enable by the setParameter 'enableNewExplain'
* SERVER-13783 remove likelyInMemory and PageFaultExceptionHari Khalsa2014-04-291-9/+0
|
* SERVER-13632 Pass the collection to PlanExecutor and FetchStageKaloian Manassiev2014-04-241-1/+10
|
* SERVER-10026 SERVER-12046 SERVER-12113 runner/stage invalidation can be ↵Hari Khalsa2014-01-141-1/+1
| | | | mutation or deletion
* SERVER-8886 Add OpenSSL exception to files in src/mongo/dbIan Whalen2013-09-061-0/+12
|
* SERVER-10376 SERVER-10026 end-to-end part 1: run non-indexed queriesHari Khalsa2013-08-051-4/+6
|
* SERVER-10026 stage stats, multi plan runner, relevant scaffoldingHari Khalsa2013-07-251-0/+6
|
* SERVER-10026 fetch limit skip orHari Khalsa2013-07-091-0/+69