summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/internal_plans.h
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-63040: Batch TTL deletionsYu Jin Kang Park2022-04-291-3/+5
|
* SERVER-65261 User deletes on capped collections do not return CappedPositionLostGregory Wlodarek2022-04-071-4/+2
|
* SERVER-61339 Improve change stream pre-image purging job to leverage ↵Denis Grebennicov2022-03-301-2/+4
| | | | efficient multi-deletes
* SERVER-6491 Prevent dropping shard key index when alternative index doesn't ↵Randolph Tan2022-03-161-2/+3
| | | | exist
* SERVER-61939 Tighter bounds for clustered collection scansDaniel Gómez Ferro2022-02-071-4/+4
|
* SERVER-60123 Support sharding by cluster key _id on explicitly created ↵Haley Connelly2021-12-211-2/+37
| | | | clustered collection
* SERVER-61962 Rename `db/exec/delete.h/.cpp` to `delete_stage.h/.cpp`Kaloian Manassiev2021-12-131-1/+1
|
* SERVER-61250 Introduce ScanInclusionBound for bounded collection scansHaley Connelly2021-11-111-0/+12
|
* SERVER-60492 Support clustered capped collections with TTL expirationJosef Ahmad2021-11-081-1/+2
|
* SERVER-57446 fix clang-tidy header issues and add header-filterDaniel Moody2021-08-021-1/+1
|
* SERVER-55559 StorageInterfaceImpl should use bounded collection scans on ↵Louis Williams2021-04-061-3/+5
| | | | clustered collections
* SERVER-54007 Support TTL deletions on time-series clustered indexesLouis Williams2021-03-011-2/+6
|
* SERVER-51200 CollectionPtr in RequiresCollectionStage point to instance ↵Henrik Edin2020-10-131-7/+7
| | | | | | | | | | | owned by AutoGetCollection RequiresCollectionStage now holds a pointer to CollectionPtr owned by an AutoGetCollection. When we save and restore the executor a new CollectionPtr pointer needs to be assigned. Plan executors can no longer be created with temporary CollectionPtr instances and their interface have been changed to take pointers to avoid binding to rvalues. RequiresCollectionStage no longer loads collections from the catalog and will be in sync with the owning AutoGetCollection.
* SERVER-50984 Add CollectionPtr to replace usage of const Collection*Henrik Edin2020-09-261-7/+8
| | | | | | | | | | | | 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-50317 Const correct uses of CollectionHenrik Edin2020-09-021-3/+3
| | | | | | Most of the code should only need a const Collection now. AutoGetCollection returns a const Collection by default. There is a placeholder getWritableCollection() interface that will handle the necessary steps we need for lock free reads in the future. Added some operators to AutoGetCollection so it behaves more like a smart pointer.
* SERVER-49409 Enable resuming index builds from the collection scan phaseGregory Noma2020-08-131-2/+4
|
* SERVER-47885 Added lookupCollectionByXXXForRead interface to the Collection ↵Henrik Edin2020-08-071-1/+1
| | | | | | | | | catalog that returns collection as shared_ptr<const Collection> AutoGetCollectionForRead and AutoGetCollectionForReadCommand now uses this and holds the shared_ptr. They return the collection as const. Const correct various places to make this possible. Moved some logic from Collection destructors to deregister from the catalog as they may now be destroyed at a later point.
* SERVER-48477 Make PlanExecutor interface more genericDavid Storch2020-07-091-0/+1
| | | | | | After this change, the interface is sensible for both the classic and SBE engines (with the exception of 'getRootStage()' which is left as future work).
* SERVER-48228 Move slot-based execution engine and supporting changes into ↵Martin Neupauer2020-06-111-5/+5
| | | | | | | | | | | | | | 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 PlanStageIan Boros2020-02-281-13/+15
| | | | This patch includes also moves ownership of the collator to the ExpressionContext.
* SERVER-36186 Default to the the oplogreplay optimization path for oplog ↵Xin Hao Zhang2019-07-241-6/+3
| | | | collections
* 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-38179 range deleter must be prepared for document to be deleted from ↵Randolph Tan2019-01-111-3/+3
| | | | under it
* SERVER-37651 Update header files with new licenseRamon Fernandez2018-10-221-8/+10
|
* SERVER-25694 Eliminate race in PlanExecutor cleanup.Charlie Swanson2017-04-131-31/+35
| | | | | | | | | | | Ensures that a collection lock is held in at least MODE_IS while deregistering a PlanExecutor from the cursor manager. Introduces new PlanExecutor::dispose() and ClientCursor::dispose() methods that must be called before destruction of those classes, and ensures they are called before destruction. These calls will thread an OperationContext all the way through to DocumentSource::dispose() for each stage in a Pipeline, which will give DocumentSourceCursor a chance to acquire locks and deregister its PlanExecutor if necessary.
* SERVER-28211 added InternalPlanner::updateWithIdHack()Benety Goh2017-04-031-0/+11
|
* 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-26033 Allow simple range to exclude start keyJudah Schvimer2016-09-151-3/+3
|
* SERVER-24745 added collection scan support to storage interface for findOne ↵Benety Goh2016-06-231-0/+22
| | | | and deleteOne
* SERVER-19466 TTLMonitor::doTTLForIndex() use IXSCAN => FETCH => DELETEQingyang Chen2015-08-131-4/+38
|
* SERVER-16889 Modernize getExecutor*(), PlanExecutor::make() signaturesQingyang Chen2015-06-261-13/+13
|
* SERVER-18579: Clang-Format - reformat code, no comment reflowMark Benvenuto2015-06-201-42/+43
|
* SERVER-17894 de-inlined InternalPlannerBenety Goh2015-04-141-80/+8
|
* SERVER-16940 Change pass-by-const-ref of StringData to pass-by-valueTyler Brock2015-02-061-1/+1
|
* SERVER-13679 Replace DiskLoc with RecordId outside of MMAPv1Mathias Stearn2014-11-261-3/+3
| | | | | | | | | | | 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-14860 Handle duplicate key/value in btree, for background indexingEric Milkie2014-11-031-2/+2
|
* SERVER-15541 SERVER-15652 implement timing-based yieldingDavid Storch2014-10-211-3/+29
|
* SERVER-15541 add PlanExecutor yield policies and registrationsDavid Storch2014-10-141-8/+3
|
* SERVER-14668 expand support for yielding, add back in yield policyHari Khalsa2014-10-031-3/+3
|
* SERVER-13635: OperationContext on read pathsEliot Horowitz2014-08-251-1/+1
|
* SERVER-14407 replace Runner with PlanExecutorDavid Storch2014-07-221-21/+29
|
* SERVER-14387 Propogate OperationContext through calls requiring document ↵Craig Harris2014-07-081-6/+10
| | | | read locks, without doing the locking.
* SERVER-13632 Pass the collection to PlanExecutor and FetchStageKaloian Manassiev2014-04-241-1/+2
|
* SERVER-13084: remove many cc() calls from query/exec worldEliot Horowitz2014-04-171-4/+8
|
* SERVER-12392: Move cursor/runner cache into Collection lifecycle via ↵Eliot Horowitz2014-01-241-7/+6
| | | | CollectionCursorCache
* SERVER-12213 all indices are btree based indicesHari Khalsa2014-01-171-3/+0
|
* SERVER-11643: remove some nsdetails calls for catalog versionsEliot Horowitz2014-01-151-3/+4
|
* SERVER-12213: do not use idxNo or IndexDetails in any non-short term ↵Eliot Horowitz2014-01-091-2/+3
| | | | transient way
* SERVER-12213: bulk of index refactor, making catalog/record store come via ↵Eliot Horowitz2013-12-301-1/+1
| | | | catalog - js tests work
* SERVER-11178 remove catalog hackHari Khalsa2013-12-131-2/+2
|