Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SERVER-45406 Plumb ExpressionContext through PlanStage | Ian Boros | 2020-02-28 | 1 | -4/+4 |
| | | | | This patch includes also moves ownership of the collator to the ExpressionContext. | ||||
* | SERVER-42981 Make WorkingSetMember compatible for use with the Sorter. | David Storch | 2019-09-12 | 1 | -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 BSONObj | Xiangyu Yao | 2019-08-29 | 1 | -1/+7 |
| | |||||
* | SERVER-41772 Apply clang-format 7.0.1 to the codebase | clang-format-7.0.1 | 2019-07-27 | 1 | -1/+1 |
| | |||||
* | SERVER-39339 Remove `stdx/memory.h` | ADAM David Alan Martin | 2019-06-10 | 1 | -4/+5 |
| | |||||
* | 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-37448 Make remaining PlanStages check catalog validity on restore. | David Storch | 2018-11-27 | 1 | -24/+29 |
| | | | | Handles COUNT_SCAN, DISTINCT_SCAN, IDHACK, and TEXT_OR. | ||||
* | SERVER-37651 Update header files with new license | Ramon Fernandez | 2018-10-22 | 1 | -8/+10 |
| | |||||
* | SERVER-16857 Delete MMAPv1 diskloc invalidations. | David Storch | 2018-08-29 | 1 | -16/+0 |
| | | | | | | - Removes of PlanStage::invalidate(). - Removes RecordCursor::invalidate() from the storage API. - Removes CursorManager::invalidateDocument(). | ||||
* | SERVER-35500 Implement special bounds generation for allPaths indexes | Bernard Gorman | 2018-08-10 | 1 | -22/+18 |
| | |||||
* | SERVER-33275 Remove `platform/unordered_`* headers | ADAM David Alan Martin | 2018-02-14 | 1 | -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 Storch | 2018-01-09 | 1 | -1/+0 |
| | |||||
* | SERVER-32302 Introduce BSONObjStlIterator as a proper stl-style iterator | Mathias Stearn | 2018-01-04 | 1 | -1/+1 |
| | |||||
* | SERVER-30353 Create an index observer to notify us of changes made to index ↵ | Gregory Wlodarek | 2017-08-09 | 1 | -0/+1 |
| | | | | and document keys | ||||
* | SERVER-28752 Get rid of BatchedInsertRequest::getIndexTargetingNS | Kaloian Manassiev | 2017-07-26 | 1 | -1/+1 |
| | | | | In preparation for removing the Batched Insert/Update/Delete Request parser classes. | ||||
* | SERVER-27938 Rename all OperationContext variables to opCtx | Maria van Keulen | 2017-03-07 | 1 | -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 Hirschhorn | 2016-09-07 | 1 | -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 output | Tess Avitabile | 2016-07-05 | 1 | -0/+4 |
| | |||||
* | SERVER-23064 COUNT_SCAN query execution stage does not report index bounds ↵ | David Hatch | 2016-06-10 | 1 | -0/+32 |
| | | | | in execution stats output for explain | ||||
* | SERVER-23115 Include path-level multikey information in explain output. | Max Hirschhorn | 2016-05-17 | 1 | -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_OBJ | David Storch | 2016-02-22 | 1 | -3/+1 |
| | | | | Fixes most of a 7% perf regression for COUNT_SCAN plans. | ||||
* | SERVER-22133 generate COUNT_SCAN plans properly from the plan cache | David Storch | 2016-01-29 | 1 | -1/+5 |
| | |||||
* | SERVER-19377 PlanStage: make work() non-virt, add virt method doWork() | Jason Rassi | 2016-01-14 | 1 | -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 class | Geert Bosch | 2015-08-28 | 1 | -1/+1 |
| | |||||
* | SERVER-19364 move query stage OperationContext pointer management into the ↵ | Qingyang Chen | 2015-08-04 | 1 | -9/+5 |
| | | | | base class | ||||
* | SERVER-17364 Don't stash RecoveryUnits across getMores | Mathias Stearn | 2015-07-16 | 1 | -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 class | Mathias Stearn | 2015-07-16 | 1 | -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 Chen | 2015-06-29 | 1 | -5/+7 |
| | | | | unique_ptr | ||||
* | SERVER-18579: Clang-Format - reformat code, no comment reflow | Mark Benvenuto | 2015-06-20 | 1 | -125/+124 |
| | |||||
* | address feedback: remove isTTL and expireAfterSeconds | Misha Tyulenev | 2015-06-15 | 1 | -2/+0 |
| | |||||
* | SERVER-3495 added to explain output for stages COUNT_SCAN and IXSCAN: ↵ | Misha Tyulenev | 2015-06-15 | 1 | -0/+5 |
| | | | | isUnique, isSparse, isPartial, isTTL, expireAfterSeconds | ||||
* | SERVER-17309 Replace std::auto_ptr<T> with std::unique_ptr<T> | Andrew Morrow | 2015-06-10 | 1 | -2/+2 |
| | |||||
* | SERVER-17633 add const qualifiers to PlanStage and Explain interfaces | David Storch | 2015-04-17 | 1 | -2/+2 |
| | |||||
* | SERVER-17635 Improve SortedDataInterface::Cursor API | Mathias Stearn | 2015-04-09 | 1 | -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 BtreeIndexCursor | Mathias Stearn | 2015-03-19 | 1 | -25/+20 |
| | |||||
* | SERVER-4494 add index version to explain output | David Storch | 2015-02-20 | 1 | -0/+1 |
| | |||||
* | SERVER-17062 rename NEED_FETCH to NEED_YIELD | David Storch | 2015-02-16 | 1 | -2/+2 |
| | |||||
* | SERVER-17062 Make query execution handle WriteConflictExceptions where possible | Mathias Stearn | 2015-02-13 | 1 | -3/+23 |
| | |||||
* | SERVER-13256 Add usings and qualifications for names from namespace std | Andrew Morrow | 2015-01-15 | 1 | -0/+3 |
| | |||||
* | SERVER-16301 add indexName to the explain output for index access stages | David Storch | 2014-12-05 | 1 | -0/+1 |
| | |||||
* | SERVER-13679 Replace DiskLoc with RecordId outside of MMAPv1 | Mathias Stearn | 2014-11-26 | 1 | -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 Rassi | 2014-11-20 | 1 | -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 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-15363 fix solaris compile | David Storch | 2014-10-02 | 1 | -0/+1 |
| | |||||
* | SERVER-15187 Update saved OperationContext in all PlanStages | David Percy | 2014-09-18 | 1 | -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 restoreState | David Percy | 2014-09-16 | 1 | -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 CountStage | David Storch | 2014-09-10 | 1 | -0/+243 |