Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SERVER-47873 Eliminate the Collection* saved in IndexDescriptor | Geert Bosch | 2020-06-10 | 1 | -1/+2 |
| | |||||
* | SERVER-43821 Make PlanStage and PlanExecutor return errors by throwing | David Storch | 2020-05-29 | 1 | -29/+7 |
| | | | | | | | | This eliminates the need for the FAILURE status codes in PlanStage and PlanExecutor, and brings query execution's error reporting more in line with that of the rest of the server. It also makes it easier for future implementations of PlanExecutor to comply with the interface. | ||||
* | 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-41071 Replace more NULLs with nullptr | A. Jesse Jiryu Davis | 2019-06-17 | 1 | -1/+1 |
| | |||||
* | SERVER-39339 Remove `stdx/memory.h` | ADAM David Alan Martin | 2019-06-10 | 1 | -3/+3 |
| | |||||
* | 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 Make geoNear stages use RequiresIndexStage. | David Storch | 2018-12-13 | 1 | -2/+2 |
| | |||||
* | SERVER-37446 Make more PlanStages inherit from RequiresCollectionStage. | David Storch | 2018-11-07 | 1 | -5/+4 |
| | |||||
* | 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 | -23/+5 |
| | | | | | | - Removes of PlanStage::invalidate(). - Removes RecordCursor::invalidate() from the storage API. - Removes CursorManager::invalidateDocument(). | ||||
* | 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-27975 Remove many uses of `OwnedPointerVector` | ADAM David Alan Martin | 2017-03-10 | 1 | -2/+3 |
| | | | | | 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 | -4/+4 |
| | | | | | | 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 RID | James Wahlin | 2016-02-05 | 1 | -11/+11 |
| | | | | | | Also renamed: * WorkingSetMember::hasLoc() -> WorkingSetMember::hasRecordId * WorkingSetMember::loc -> WorkingSetMember::recordId | ||||
* | SERVER-19377 PlanStage: make work() non-virt, add virt method doWork() | Jason Rassi | 2016-01-14 | 1 | -10/+1 |
| | | | | | Changes PlanStage::work() to be non-virtual. PlanStage::work() now updates _commonStats and calls new pure virtual method doWork(). | ||||
* | SERVER-20111 Plan summary should only include the winning plan | Charlie Swanson | 2015-10-08 | 1 | -1/+1 |
| | |||||
* | SERVER-16444 Only make BSONObj underlying WSM owned if not mmapv1. | Max Hirschhorn | 2015-08-27 | 1 | -1/+1 |
| | | | | | | | | | | Resolves the performance regression with mmapv1 introduced by 764e0c4 where documents were being copied in PlanStages that perform invalidations. Partially reverted changes to DeleteStage and UpdateStage because the document to return is not guaranteed to be owned after makeObjOwnedIfNeeded() is called when running with mmapv1. | ||||
* | SERVER-16444 Copy data in the query subsystem as needed. | Max Hirschhorn | 2015-08-24 | 1 | -0/+2 |
| | | | | | | | | | | | A WorkingSetMember in the LOC_AND_OBJ state must be made owned when: 1. Its WorkingSetID is cached across multiple calls to work(). 2. Multiple calls to next(), seekExact(), saveState(), etc. are performed on the same WiredTiger cursor in a single work() call. No longer necessary to always copy data out of WiredTiger buffers. | ||||
* | SERVER-19480 Meaningful geoNear specific statistics after eliminating ↵ | Brandon Zhang | 2015-08-14 | 1 | -16/+4 |
| | | | | duplicated index scans | ||||
* | SERVER-19364 move query stage OperationContext pointer management into the ↵ | Qingyang Chen | 2015-08-04 | 1 | -8/+4 |
| | | | | base class | ||||
* | SERVER-19039 Buffer fetched documents in geoNear | Brandon Zhang | 2015-07-20 | 1 | -43/+61 |
| | |||||
* | 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 | -69/+22 |
| | | | | 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 | -3/+6 |
| | | | | unique_ptr | ||||
* | SERVER-18579: Clang-Format - reformat code, no comment reflow | Mark Benvenuto | 2015-06-20 | 1 | -291/+265 |
| | |||||
* | SERVER-18830 Fixed explain output for geoNear | Brandon Zhang | 2015-06-17 | 1 | -13/+7 |
| | | | | | | Closes #987 Signed-off-by: Siyuan Zhou <siyuan.zhou@mongodb.com> | ||||
* | SERVER-17633 add const qualifiers to PlanStage and Explain interfaces | David Storch | 2015-04-17 | 1 | -2/+2 |
| | |||||
* | SERVER-17280 geo near must propagate saveState()/restoreState() to the ↵ | David Storch | 2015-02-25 | 1 | -0/+6 |
| | | | | DensityEstimator | ||||
* | SERVER-17280 geo near must propagate invalidate messages to IndexScan used ↵ | David Storch | 2015-02-25 | 1 | -0/+4 |
| | | | | by DensityEstimator | ||||
* | SERVER-17062 rename NEED_FETCH to NEED_YIELD | David Storch | 2015-02-16 | 1 | -4/+4 |
| | |||||
* | SERVER-17062 Make query execution handle WriteConflictExceptions where possible | Mathias Stearn | 2015-02-13 | 1 | -11/+4 |
| | |||||
* | SERVER-16954 fix invalidation handling in NearStage | David Storch | 2015-01-21 | 1 | -3/+18 |
| | |||||
* | SERVER-13256 Add usings and qualifications for names from namespace std | Andrew Morrow | 2015-01-15 | 1 | -1/+3 |
| | |||||
* | SERVER-16633 Add timer to geo near stage to track execution time | Siyuan Zhou | 2014-12-22 | 1 | -0/+4 |
| | |||||
* | SERVER-13679 Replace DiskLoc with RecordId outside of MMAPv1 | Mathias Stearn | 2014-11-26 | 1 | -6/+6 |
| | | | | | | | | | | | 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 | -3/+3 |
| | | | | | | | 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_FETCH | David Storch | 2014-11-04 | 1 | -3/+12 |
| | |||||
* | SERVER-15562 Estimate density before near search | Siyuan Zhou | 2014-10-28 | 1 | -2/+29 |
| | |||||
* | SERVER-15450 Avoid getStats() and keep interval stages as children in NearStage | Siyuan Zhou | 2014-10-01 | 1 | -18/+20 |
| | |||||
* | 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-13635: OperationContext on read paths | Eliot Horowitz | 2014-08-25 | 1 | -1/+1 |
| | |||||
* | SERVER-14515 Remove default limit from geoNear operations | Siyuan Zhou | 2014-08-06 | 1 | -16/+0 |
| | |||||
* | SERVER-14633 rename prepareToYield() and recoverFromYield() to saveState() ↵ | David Storch | 2014-07-29 | 1 | -4/+4 |
| | | | | | | and restoreState() Also renames PlanExecutor::getStages() to PlanExecutor::getRootStage() | ||||
* | SERVER-14407 replace Runner with PlanExecutor | David Storch | 2014-07-22 | 1 | -2/+2 |
| | |||||
* | SERVER-9986 refactor near search for 2D and S2 | Greg Studer | 2014-07-09 | 1 | -0/+352 |
Adds progressive search functionality for $geoNear operations, allowing better integration with other cursors. |