summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec/subplan.cpp
AgeCommit message (Collapse)Author
2024-08-08SERVER-92833: Move plan cache related files into plan_cache/ dir (#25460)James H
GitOrigin-RevId: 0676014a38d4a1c03884dcc99c062051fe99736e
2024-07-31SERVER-92834 Create db/query/stage_builder subdirectory (#25536)kmznam
GitOrigin-RevId: a7316b3cf1d32e3d5fe4897653776e17ac259e81
2024-05-23SERVER-90645 Enable tidy check misc-unused-using-decls (#22430)Matt Kneiser
Co-authored-by: Benety Goh <benety@mongodb.com> GitOrigin-RevId: e97b100882e14cca504952d321cedfb135321240
2024-05-21SERVER-90494 Change MultiPlanStage to write to plan cache via callback (#22205)David Storch
Co-authored-by: Ian Boros <ian.boros@mongodb.com> GitOrigin-RevId: 0a6457e8c1c120b9761b5bba7c1ff1fb5aca8d28
2024-03-12SERVER-86174 Avoid unnecessary fillOutPlannerParams() and ↵Catalin Sumanaru
fillOutSecondaryCollectionsInformation() calls (#19635) GitOrigin-RevId: 7a26f4d544e4a670a25c598e34d5912d8ba7d52e
2024-03-01SERVER-86816 Do not build classic executable tree when using sub planner for ↵Adityavardhan Agrawal
SBE (#19159) GitOrigin-RevId: b45629d3d976ea595de5c915295d23a8a5c9d8b2
2024-02-14SERVER-85241 Implement classic_runtime_planner_for_sbe::SubPlanner (#18575)Adityavardhan Agrawal
GitOrigin-RevId: 52f2260decd4130d131bb59bd6f6ef63e3a4672f
2024-01-29SERVER-85235 Implement classic_runtime_planner_for_sbe::MultiPlanner (#18299)Adityavardhan Agrawal
GitOrigin-RevId: 7753e77b9d3949c083b4ec22d2f6feec987a7788
2023-09-23SERVER-81059 bulk-revert of include of boost iif.hppBilly Donahue
2023-08-31SERVER-78817 Parameterize pushed down $match stages for SBE plan cacheKevin Cherkauer
2023-06-27SERVER-77047 SERVER-77048 IWYU automated changes up to end ratio 0.8Daniel Moody
2023-06-22SERVER-78170 Modify read query stages to accept both CollectionPtr and ↵Jordi Olivares Provencio
ScopedCollectionAcquisition
2023-04-18SERVER-74486 Always include tenant in collection name attributes in error ↵Sophia Tan
messages
2022-07-27SERVER-67101 Support microsecond precision in ScopedTimerRuoxin Xu
2022-07-26Revert "SERVER-67101 Support microsecond precision in ScopedTimer"Ruoxin Xu
This reverts commit e7d2be0dae29265e2a6efafd4753debf11b9e96f.
2022-07-26SERVER-67101 Support microsecond precision in ScopedTimerRuoxin Xu
2022-04-07SERVER-59695 Make index filters work with SBE plan cacheRuoxin Xu
Co-authored-by: Ruoxin Xu ruoxin.xu@mongodb.com
2022-02-21SERVER-59698 Make subplanning work with the SBE plan cacheAlexander Ignatyev
2021-11-18SERVER-58429 enable group lowering into SBE for cached and multi- plansIrina Yatsenko
2021-11-03SERVER-60066 Remove plan cache entries on collection dropAlexander Ignatyev
2021-10-14SERVER-60338 Refine SBE query shape and implement plan cache key encodingRuoxin Xu
2021-09-24SERVER-59854 Remove PlanCacheIndexabilityState from the PlanCacheRuoxin Xu
This patch includes a number of changes to facilitate the use of PlanCacheIndexabilityState with SBE and classic plan cache keys. * Introduced a plan cache key factory. * Moved PlanCacheIndexabilityState from the PlanCache into CollectionQueryInfo. * Templetized QueryPlanner::planSubqueries() so it can be used with classic and SBE plan caches. * Removed dependency on the CanonicalQuery from the PlanCache class. Co-authored-by: Anton Korshunov <anton.korshunov@mongodb.com>
2021-08-19SERVER-58424 Refactor QueryPlanner::plan() in preparation for DocumentSource ↵Eric Cox
pushdown
2021-04-02SERVER-54975 Rename IDL parser classes to use CommandRequest and ↵Bernard Gorman
CommandReply suffixes
2021-02-17SERVER-53060 Remove QueryRequest classRuoxin Xu
2020-09-26SERVER-50984 Add CollectionPtr to replace usage of const Collection*Henrik Edin
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.
2020-08-20SERVER-48900 Remove format-string arguments from logv2 statementsMilena Ivanova
2020-06-11SERVER-48228 Move slot-based execution engine and supporting changes into ↵Martin Neupauer
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>
2020-04-26SERVER-47735 change mongo source over to logv2Billy Donahue
- Remove several legacy logger/ files - Convert all MONGO_LOG_DEFAULT_COMPONENT to the LOGV2 version. - Globally replace logger::{LogSeverity,LogComponent} => logv2::
2020-04-13SERVER-46921 make collection of timing info opt in in PlanStageIan Boros
2020-02-28SERVER-45406 Plumb ExpressionContext through PlanStageIan Boros
This patch includes also moves ownership of the collator to the ExpressionContext.
2020-02-21SERVER-45567 removing util/log.h where I canGabriel Russell
o converting some log lines that were missed o fixing some missing includes create mode 100644 src/mongo/transport/ismaster_metrics.cpp
2020-02-13SERVER-45869 automatically converted structured loggingGabriel Russell
2019-11-11SERVER-14643 Return informative Status from QueryPlanner::planDavid Percy
2019-10-01SERVER-43202 propagate errors from interrupts during yieldingIan Boros
2019-09-04SERVER-42852 Make PlanStage consistently hold children by unique_ptr.David Storch
2019-08-07SERVER-40714 Change CollectionInfoCache to be a decoration (rather than a ↵Xiangyu Yao
member) on Collection object
2019-06-14SERVER-41071 Replace NULL and 0 with nullptrA. Jesse Jiryu Davis
2019-06-10SERVER-39339 Remove `stdx/memory.h`ADAM David Alan Martin
2019-04-11SERVER-39567 Change find min/max options to require hintIan Boros
2019-04-09SERVER-40476 remove mongoutils::strBilly Donahue
Rename utils/mongoutils/str.h => utils/str.h Rename namespace mongoutils::str => str Rename mongo::strcasecmp => str::caseInsensitiveCompare.
2019-03-22SERVER-40267 Clean up debug string generation for MatchExpression.David Storch
2019-02-13SERVER-39560 - remove leading blank line on all C++ filesBilly Donahue
Remove leading comments that are just stating the filename. Move any file-level comments below the copyright banner. Remove leading blank lines.
2018-12-10SERVER-37449 Add RequiresAllIndicesStage and use for subplanning and ↵David Storch
multiplanning. These stages hold the collection's list of indices during plan selection, and expect all indices in this list to remain valid until plan selection completes.
2018-11-07SERVER-37446 Make more PlanStages inherit from RequiresCollectionStage.David Storch
2018-10-22SERVER-37651 Update header files with new licenseRamon Fernandez
2018-08-31SERVER-35333 caching plans for allPaths indexesIan Boros
2018-08-29SERVER-16857 Delete MMAPv1 diskloc invalidations.David Storch
- Removes of PlanStage::invalidate(). - Removes RecordCursor::invalidate() from the storage API. - Removes CursorManager::invalidateDocument().
2018-07-31SERVER-23332 Expose query plan cache key in system.profile entry and query ↵Haley Connelly
log lines
2018-07-24SERVER-35031 Return MaxTimeMSExpired for maxTimeMS timeoutJames Wahlin
Adds a new 'MaxTimeMSExpired' error code, returned when a timeout occurs due to exceeding of maxTimeMS. Timeouts unrelated to maxTimeMS will continue to return 'ExceededTimeLimit'.