summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec/count_scan.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-42981 Make WorkingSetMember compatible for use with the Sorter.David Storch2019-09-121-1/+1
| | | | | | | | The bulk of this change is to implement serialization and deserialization routines for WorkingSetMember, so that the Sorter can spill WorkingSetMembers to disk. In addition, this changes the SortExecutor to sort WorkingSetMembers internally as opposed to sorting Documents.
* SERVER-42248 Remove SortedDataInterface::seek() which accepts a BSONObjXiangyu Yao2019-08-291-1/+7
|
* SERVER-41772 Apply clang-format 7.0.1 to the codebaseclang-format-7.0.12019-07-271-1/+1
|
* SERVER-39339 Remove `stdx/memory.h`ADAM David Alan Martin2019-06-101-4/+5
|
* 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-37448 Make remaining PlanStages check catalog validity on restore.David Storch2018-11-271-24/+29
| | | | Handles COUNT_SCAN, DISTINCT_SCAN, IDHACK, and TEXT_OR.
* SERVER-37651 Update header files with new licenseRamon Fernandez2018-10-221-8/+10
|
* SERVER-16857 Delete MMAPv1 diskloc invalidations.David Storch2018-08-291-16/+0
| | | | | | - Removes of PlanStage::invalidate(). - Removes RecordCursor::invalidate() from the storage API. - Removes CursorManager::invalidateDocument().
* SERVER-35500 Implement special bounds generation for allPaths indexesBernard Gorman2018-08-101-22/+18
|
* SERVER-33275 Remove `platform/unordered_`* headersADAM David Alan Martin2018-02-141-1/+1
| | | | | | These headers date from before C++11 support and the `::mongo::stdx::` namespace. They can be removed and uses of the names therein can be changed to `::mongo::stdx::unordered_`* forms.
* SERVER-32570 Clean up stale TODO comments in the query system.David Storch2018-01-091-1/+0
|
* SERVER-32302 Introduce BSONObjStlIterator as a proper stl-style iteratorMathias Stearn2018-01-041-1/+1
|
* SERVER-30353 Create an index observer to notify us of changes made to index ↵Gregory Wlodarek2017-08-091-0/+1
| | | | and document keys
* SERVER-28752 Get rid of BatchedInsertRequest::getIndexTargetingNSKaloian Manassiev2017-07-261-1/+1
| | | | In preparation for removing the Batched Insert/Update/Delete Request parser classes.
* SERVER-27938 Rename all OperationContext variables to opCtxMaria van Keulen2017-03-071-6/+6
| | | | | | 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-25156 Add support for building v=2 indexes.Max Hirschhorn2016-09-071-1/+1
| | | | | | | | We use index version v=2 as the default index version when the featureCompatibilityVersion is 3.4, and we use index version v=1 as the default index version when the featureCompatibilityVersion is 3.2. The "collation" index option can only be used with v=2 indexes.
* SERVER-24182 Add collation-related information to explain outputTess Avitabile2016-07-051-0/+4
|
* SERVER-23064 COUNT_SCAN query execution stage does not report index bounds ↵David Hatch2016-06-101-0/+32
| | | | in execution stats output for explain
* SERVER-23115 Include path-level multikey information in explain output.Max Hirschhorn2016-05-171-0/+1
| | | | | | | Applies to plan stages that use an index: - COUNT_SCAN - DISTINCT_SCAN - IXSCAN
* SERVER-22407 make COUNT_SCAN return RID_AND_OBJ instead of OWNED_OBJDavid Storch2016-02-221-3/+1
| | | | Fixes most of a 7% perf regression for COUNT_SCAN plans.
* SERVER-22133 generate COUNT_SCAN plans properly from the plan cacheDavid Storch2016-01-291-1/+5
|
* SERVER-19377 PlanStage: make work() non-virt, add virt method doWork()Jason Rassi2016-01-141-7/+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-1/+1
|
* SERVER-19364 move query stage OperationContext pointer management into the ↵Qingyang Chen2015-08-041-9/+5
| | | | base class
* SERVER-17364 Don't stash RecoveryUnits across getMoresMathias Stearn2015-07-161-6/+15
| | | | | | | 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-19/+6
| | | | This is prep for adding more methods that need to propagate to children.
* SERVER-16889.5 PlanExecutor::getStats() and PlanStage::getStats() return ↵Qingyang Chen2015-06-291-5/+7
| | | | unique_ptr
* SERVER-18579: Clang-Format - reformat code, no comment reflowMark Benvenuto2015-06-201-125/+124
|
* address feedback: remove isTTL and expireAfterSecondsMisha Tyulenev2015-06-151-2/+0
|
* SERVER-3495 added to explain output for stages COUNT_SCAN and IXSCAN: ↵Misha Tyulenev2015-06-151-0/+5
| | | | isUnique, isSparse, isPartial, isTTL, expireAfterSeconds
* SERVER-17309 Replace std::auto_ptr<T> with std::unique_ptr<T>Andrew Morrow2015-06-101-2/+2
|
* SERVER-17633 add const qualifiers to PlanStage and Explain interfacesDavid Storch2015-04-171-2/+2
|
* SERVER-17635 Improve SortedDataInterface::Cursor APIMathias Stearn2015-04-091-127/+39
| | | | | | | | Major changes: * Implementation now responsible for simple end point checking. * No way to ask for current position. Relocating methods now return position. * Simplified seeking methods so they have clear uses. * Callers can use saveUnpositioned to indicate they don't care about position.
* SERVER-17623 Fix direct users of BtreeBasedAccessMethod and BtreeIndexCursorMathias Stearn2015-03-191-25/+20
|
* SERVER-4494 add index version to explain outputDavid Storch2015-02-201-0/+1
|
* SERVER-17062 rename NEED_FETCH to NEED_YIELDDavid Storch2015-02-161-2/+2
|
* SERVER-17062 Make query execution handle WriteConflictExceptions where possibleMathias Stearn2015-02-131-3/+23
|
* SERVER-13256 Add usings and qualifications for names from namespace stdAndrew Morrow2015-01-151-0/+3
|
* SERVER-16301 add indexName to the explain output for index access stagesDavid Storch2014-12-051-0/+1
|
* SERVER-13679 Replace DiskLoc with RecordId outside of MMAPv1Mathias Stearn2014-11-261-5/+5
| | | | | | | | | | | 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-15675 Stages should clear their OperationContext in saveState()Jason Rassi2014-11-201-0/+2
| | | | | | While state is saved, threads pass in their own OperationContext to invalidate(). When state is restored, the stage will resume with the OperationContext passed in to restoreState().
* 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-15363 fix solaris compileDavid Storch2014-10-021-0/+1
|
* SERVER-15187 Update saved OperationContext in all PlanStagesDavid Percy2014-09-181-0/+1
| | | | | | | | | | | | | | | Every stage that has a field of type OperationContext* should be updating it when ::restoreState(OperationContext*) is called. Otherwise it is retaining a reference to deleted memory. This bug hasn't surfaced before because: 1. the OperationContext used to be stack allocated, so it would have the same address every time 2. mmapv1 doesn't always need to dereference the OperationContext Closes #781 Signed-off-by: Benety Goh <benety@mongodb.com>
* SERVER-15187 Add OperationContext parameter to restoreStateDavid Percy2014-09-161-2/+2
| | | | | | | | | | | Storage engines might need the current OperationContext to restore their state. For example, BDBRecordIterator needs access to the current underlying transaction to recreate an underlying cursor. Having the BDBRecordIterator save a pointer to the OperationContext it was created with won't work, because the OperationContext is destroyed and a new one created between saveState and restoreState.
* SERVER-14098 add CountStageDavid Storch2014-09-101-0/+243