Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SERVER-58225 Enable featureFlagSbePlanCache | David Storch | 2022-04-13 | 1 | -1/+0 |
| | |||||
* | SERVER-59695 Make index filters work with SBE plan cache | Ruoxin Xu | 2022-04-07 | 1 | -374/+411 |
| | | | | Co-authored-by: Ruoxin Xu ruoxin.xu@mongodb.com | ||||
* | SERVER-64606 Remove TenantNamespace | jannaerin | 2022-04-01 | 1 | -7/+7 |
| | |||||
* | SERVER-64074 Optimize how we build the DebugInfo for plan cache | Ruoxin Xu | 2022-03-15 | 1 | -5/+7 |
| | |||||
* | SERVER-61986 Add TenantNamespace to Collection object | jannaerin | 2022-01-18 | 1 | -7/+7 |
| | |||||
* | SERVER-59682 Recover SBE plans from the new plan cache | Ruoxin Xu | 2022-01-17 | 1 | -2/+7 |
| | |||||
* | Revert "SERVER-62239 Put tenantId on opCtx if passed as $tenant" | Kaloian Manassiev | 2022-01-16 | 1 | -7/+7 |
| | | | | | | | Revert "SERVER-61986 Add TenantNamespace to Collection object" This reverts commit da6685f2648051ce806ad700d31787a1f365cfdc. This reverts commit 560cf02296f03685faaaf5f655dec00316dbbd85. | ||||
* | SERVER-61986 Add TenantNamespace to Collection object | jannaerin | 2022-01-14 | 1 | -7/+7 |
| | |||||
* | SERVER-60066 Remove plan cache entries on collection drop | Alexander Ignatyev | 2021-11-03 | 1 | -1/+1 |
| | |||||
* | SERVER-58429 Remove unused solutions argument when caching a plan | Irina Yatsenko | 2021-11-02 | 1 | -7/+3 |
| | |||||
* | SERVER-60338 Refine SBE query shape and implement plan cache key encoding | Ruoxin Xu | 2021-10-14 | 1 | -1/+1 |
| | |||||
* | SERVER-59854 Remove PlanCacheIndexabilityState from the PlanCache | Ruoxin Xu | 2021-09-24 | 1 | -65/+52 |
| | | | | | | | | | | 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> | ||||
* | SERVER-59683 Extract BudgetEstimator logic from LRU cache | Alexander Ignatyev | 2021-09-17 | 1 | -6/+6 |
| | |||||
* | SERVER-59332 Convert PlanCache to a template class | 80741223+jlap199@users.noreply.github.com | 2021-08-25 | 1 | -0/+1 |
| | |||||
* | SERVER-57096 Make SBE rely purely on the kExternal lock policy | David Storch | 2021-06-15 | 1 | -1/+1 |
| | | | | | | After this patch, the AutoGet db_raii object is no longer held by the SBE scan/ixscan stages. SBE now assumes that any lock/snapshot acquisition is done at a higher level. | ||||
* | SERVER-54975 Rename IDL parser classes to use CommandRequest and ↵ | Bernard Gorman | 2021-04-02 | 1 | -3/+3 |
| | | | | CommandReply suffixes | ||||
* | SERVER-53060 Remove QueryRequest class | Ruoxin Xu | 2021-02-17 | 1 | -18/+18 |
| | |||||
* | SERVER-53435 Make queries run with DBHelpers plus SBE circumvent ↵ | David Storch | 2021-01-15 | 1 | -1/+1 |
| | | | | | | | | | | 'checkCanServeReadsFor()' Such queries may be run when a node is neither primary nor secondary, e.g. as part of executing an initial sync. This affects only the SBE engine, since SBE's internal lock policy requires it to have its own calls to 'checkCanServeReadsFor()'. | ||||
* | SERVER-51138 Support $planCacheStats in SBE | Anton Korshunov | 2020-12-04 | 1 | -1/+1 |
| | |||||
* | SERVER-40361 Don't store debug info once plan cache size grows large | David Storch | 2020-10-22 | 1 | -7/+9 |
| | | | | | | | | | | | | Introduces a new setParameter, 'internalQueryCacheMaxSizeBytesBeforeStripDebugInfo'. When the cumulative size of a mongod's plan caches exceeds this threshold, additional plan cache entries are stored without any debug info. This should help to prevent problems where the plan caches collectively consume too much memory. The default setting of the parameter is 0.5 GB, but it can be configured by the operator at startup or at runtime. | ||||
* | SERVER-48228 Move slot-based execution engine and supporting changes into ↵ | Martin Neupauer | 2020-06-11 | 1 | -5/+7 |
| | | | | | | | | | | | | | | 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-39339 Remove `stdx/memory.h` | ADAM David Alan Martin | 2019-06-10 | 1 | -5/+6 |
| | |||||
* | 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-38069: Ensure WT transactions are not re-opened during plan updates | Jacob Evans | 2018-12-18 | 1 | -23/+18 |
| | |||||
* | Revert "SERVER-38069 Ensure WT transactions are not re-opened during plan ↵ | Gregory Wlodarek | 2018-12-14 | 1 | -18/+23 |
| | | | | | | updates" This reverts commit ac39ac47d776bbd0f442f945d4ae6091b73cfb03. | ||||
* | SERVER-38069 Ensure WT transactions are not re-opened during plan updates | Jacob Evans | 2018-12-14 | 1 | -23/+18 |
| | |||||
* | SERVER-33303 Add stable plan cache key and use for index filters | Ian Boros | 2018-11-06 | 1 | -1/+2 |
| | |||||
* | Revert "SERVER-33303 Add stable plan cache key and use for index filters" | Ian Boros | 2018-11-06 | 1 | -2/+1 |
| | | | | This reverts commit 36d4668e854d8bd17e8b684dbbf42b3b0903bbe7. | ||||
* | SERVER-33303 Add stable plan cache key and use for index filters | Ian Boros | 2018-11-06 | 1 | -1/+2 |
| | |||||
* | SERVER-37651 Update header files with new license | Ramon Fernandez | 2018-10-22 | 1 | -8/+10 |
| | |||||
* | SERVER-35333 caching plans for allPaths indexes | Ian Boros | 2018-08-31 | 1 | -7/+22 |
| | |||||
* | SERVER-35981 Include hash of plan cache key in planCacheListShapes and ↵ | Haley Connelly | 2018-08-02 | 1 | -6/+2 |
| | | | | planCacheListPlans | ||||
* | SERVER-34798 Remove ServiceContext subclasses and use new ServiceContext in ↵ | Andy Schwerin | 2018-06-22 | 1 | -22/+29 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | every unit test. This patch does several loosely related and surprisingly hard to separate things. 1.) Make the ServiceContext class final 2.) Create a mechanism, called ConstructorActions, for running methods on ServiceContexts immediately after they're built and immediately before they're destroyed. 3.) Introduce / improve test fixture base classes for tests, giving them fresh ServiceContext instances for each test case. There is one fixture for tests that need a storage engine and another for those that do not. 4.) Make several remaining global variables SC decorations in support of (3) 5.) Replace many MONGO_INITIALIZERS that access getGlobalServiceContext with the new constructor-actions system, which is needed for (3.) 6.) Fix up tests to use the fixtures from (3) and fix tests that silently used different service contexts in together in a technically illegal fashion that now breaks. 7.) Utilize (2) as necessary to simplify initialization of new ServiceContexts, simplifying the fixtures in (3). | ||||
* | SERVER-32452 add ability for plan cache entries to be inactive | Ian Boros | 2018-06-14 | 1 | -3/+3 |
| | |||||
* | SERVER-31610 Add timestamp to plan cache entries | jannaerin | 2017-11-13 | 1 | -1/+4 |
| | |||||
* | SERVER-29840 Add allowed features bitmask to MatchExpressionParser::parse | Tess Avitabile | 2017-08-25 | 1 | -7/+3 |
| | |||||
* | 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 | -50/+55 |
| | | | | | | 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-24508 BSONObj::ComparatorInterface | David Storch | 2016-08-18 | 1 | -13/+12 |
| | | | | | | | | | | | BSONObj instances should now be compared via the comparator interface's evaluate() method. This preferred over using BSONObj::woCompare() directly. If the comparison doesn't require any database semantics (e.g. there is no collation), there is a global instance of the SimpleBSONObjComparator which should be used for BSONObj comparisons. If the comparison requires special semantics, then callers must instantiate their own comparator object. | ||||
* | SERVER-24239 Allow use of names in index filter commands. | David Hatch | 2016-08-04 | 1 | -0/+38 |
| | |||||
* | SERVER-23882 Collation should be considered part of a query's shape | Tess Avitabile | 2016-07-07 | 1 | -24/+123 |
| | |||||
* | Revert "SERVER-23882 Collation should be considered part of a query's shape" | Scott Hernandez | 2016-07-07 | 1 | -123/+24 |
| | | | | This reverts commit 582818dac41ac01975820c09f79d3b86dc3782cc. | ||||
* | SERVER-23882 Collation should be considered part of a query's shape | Tess Avitabile | 2016-07-07 | 1 | -24/+123 |
| | |||||
* | SERVER-24118 Rename LiteParsedQuery to QueryRequest. | David Hatch | 2016-06-03 | 1 | -15/+15 |
| | |||||
* | SERVER-23971 Clang-Format code | Mark Benvenuto | 2016-05-28 | 1 | -14/+14 |
| | |||||
* | SERVER-24045 Refactor CanonicalQuery::canonicalize() | Tess Avitabile | 2016-05-10 | 1 | -18/+17 |
| | |||||
* | SERVER-23610 CanonicalQuery should own a CollatorInterface | Tess Avitabile | 2016-05-05 | 1 | -14/+21 |
| | |||||
* | SERVER-21407 explicitly disallow $text/$where extensions during ↵ | David Storch | 2015-12-22 | 1 | -3/+10 |
| | | | | MatchExpression parsing | ||||
* | SERVER-19235 CQ::canonicalize() to use NamespaceString rather than std::string | Qingyang Chen | 2015-07-27 | 1 | -37/+49 |
| | |||||
* | SERVER-16889 CanonicalQuery::canonicalize() return SW<unique_ptr<CQ>> | Qingyang Chen | 2015-06-23 | 1 | -10/+11 |
| |