summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec/idhack.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-67471 Improve RecordId usage performanceJordi Olivares Provencio2022-07-151-1/+1
|
* SERVER-65360 Streamline handlePlanStageYield function signatureJosef Ahmad2022-07-131-1/+0
|
* SERVER-65360 Handle TemporarilyUnavailableException in query execJosef Ahmad2022-07-121-44/+51
| | | | | | This change attaches context to the plan executor in order to distinguish a yield request due to a write conflict from one due to a TemporarilyUnavailable error, and to handle the two cases accordingly in the query execution code.
* SERVER-66205 Merge `WriteConflictException` and ↵Amirsaman Memaripour2022-05-101-1/+1
| | | | `TemporarilyUnavailableException` into `assert_util.h`
* SERVER-63251 Refactor IndexAccessMethod to support non-SortedData indexesMathias Stearn2022-02-111-1/+2
|
* SERVER-57127 WorkingSetCommon::fetch() accepts CollectionPtrBenety Goh2021-06-041-2/+3
|
* SERVER-57127 IndexAccessMethod::findSingle() accepts CollectionPtrBenety Goh2021-06-031-1/+1
|
* SERVER-55887 remove unowned_ptrBilly Donahue2021-04-211-1/+2
|
* SERVER-54975 Rename IDL parser classes to use CommandRequest and ↵Bernard Gorman2021-04-021-1/+1
| | | | CommandReply suffixes
* SERVER-53060 Remove QueryRequest classRuoxin Xu2021-02-171-1/+1
|
* SERVER-50838 Unchecked return value for recordCursor restore in IDHack stageEric Cox2020-11-091-2/+4
|
* SERVER-50984 Add CollectionPtr to replace usage of const Collection*Henrik Edin2020-09-261-2/+2
| | | | | | | | | | | | 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-48228 Move slot-based execution engine and supporting changes into ↵Martin Neupauer2020-06-111-10/+0
| | | | | | | | | | | | | | 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-47873 Eliminate the Collection* saved in IndexDescriptorGeert Bosch2020-06-101-2/+6
|
* SERVER-45406 Plumb ExpressionContext through PlanStageIan Boros2020-02-281-9/+8
| | | | This patch includes also moves ownership of the collator to the ExpressionContext.
* SERVER-40620 uassert and log when fetching dangling index entryJustin Seyster2020-01-171-1/+2
| | | | | | | | | | | | If a FETCH_STAGE encounters a record id that does not reference any existing documents, that means either the document was deleted since query execution encountered the index entry or their is corruption somewhere. If the snapshot id indicates that the query has not yielded since the time that the index entry was loaded, that leaves corruption as the only possibility. We return and error and write to the log with instructions on how to address potentially inconsistent data. create mode 100644 jstests/noPassthrough/query_yields_catch_index_corruption.js
* SERVER-42981 Make WorkingSetMember compatible for use with the Sorter.David Storch2019-09-121-2/+2
| | | | | | | | 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-42416 Move returnKey execution code to separate PlanStageAnton Korshunov2019-09-051-3/+1
|
* SERVER-42181 Make WorkingSetMember hold Document instead of BSONObjMartin Neupauer2019-08-291-1/+1
| | | | SERVER-42157 Unowned mode for Document/Value
* SERVER-42288 Consolidate Document and WorkingSetMember metadata implementations.David Storch2019-07-261-3/+1
|
* SERVER-12916 ensure find on _id field obeys min/max.Misha Ivkov2019-07-221-0/+1
|
* SERVER-41071 Replace NULL and 0 with nullptrA. Jesse Jiryu Davis2019-06-141-1/+1
|
* SERVER-39339 Remove `stdx/memory.h`ADAM David Alan Martin2019-06-101-4/+4
|
* 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-23/+7
| | | | Handles COUNT_SCAN, DISTINCT_SCAN, IDHACK, and TEXT_OR.
* SERVER-37651 Update header files with new licenseRamon Fernandez2018-10-221-8/+10
|
* SERVER-36931 Handle returnKey option for $** indexesyarai2018-09-211-3/+3
|
* SERVER-36156 Delete RecordFetcher.David Storch2018-09-051-35/+4
|
* SERVER-16857 Delete MMAPv1 diskloc invalidations.David Storch2018-08-291-17/+0
| | | | | | - Removes of PlanStage::invalidate(). - Removes RecordCursor::invalidate() from the storage API. - Removes CursorManager::invalidateDocument().
* SERVER-35115 Separate dbclientinterface.h into several parts, one per class.Henrik Edin2018-06-291-1/+0
|
* 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-23924 Make _id index inherit the collection's default collationTess Avitabile2016-07-081-3/+4
|
* SERVER-24118 Rename LiteParsedQuery to QueryRequest.David Hatch2016-06-031-4/+4
|
* SERVER-23968 Ban idhack for queries with collationTess Avitabile2016-05-241-1/+1
|
* SERVER-22359 Move ensureShardVersionOkOrThrow to CollectionShardingStateKaloian Manassiev2016-03-101-1/+0
| | | | | This ensures that we will have assertions in place for the correct locks being held.
* SERVER-18826 Rename WorkingSet State Names from LOC to RIDJames Wahlin2016-02-051-9/+9
| | | | | | 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-9/+1
| | | | | Changes PlanStage::work() to be non-virtual. PlanStage::work() now updates _commonStats and calls new pure virtual method doWork().
* SERVER-2227 Addition of index usage statisticsJames Wahlin2015-09-031-14/+14
|
* SERVER-19364 move query stage OperationContext pointer management into the ↵Qingyang Chen2015-08-041-14/+9
| | | | base class
* SERVER-19355 add skip support to the new find/getMore path in mongosDavid Storch2015-07-301-1/+1
|
* SERVER-17364 Don't stash RecoveryUnits across getMoresMathias Stearn2015-07-161-3/+13
| | | | | | | 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-22/+9
| | | | 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-4/+4
| | | | | | | 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-4/+6
| | | | unique_ptr
* SERVER-18579: Clang-Format - reformat code, no comment reflowMark Benvenuto2015-06-201-183/+189
|
* SERVER-17309 Replace std::auto_ptr<T> with std::unique_ptr<T>Andrew Morrow2015-06-101-2/+2
|
* SERVER-16444 New API for navigating RecordStoresMathias Stearn2015-06-091-4/+9
|
* SERVER-17633 add const qualifiers to PlanStage and Explain interfacesDavid Storch2015-04-171-2/+2
|