summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/index_filter_commands_test.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-58225 Enable featureFlagSbePlanCacheDavid Storch2022-04-131-1/+0
|
* SERVER-59695 Make index filters work with SBE plan cacheRuoxin Xu2022-04-071-374/+411
| | | | Co-authored-by: Ruoxin Xu ruoxin.xu@mongodb.com
* SERVER-64606 Remove TenantNamespacejannaerin2022-04-011-7/+7
|
* SERVER-64074 Optimize how we build the DebugInfo for plan cacheRuoxin Xu2022-03-151-5/+7
|
* SERVER-61986 Add TenantNamespace to Collection objectjannaerin2022-01-181-7/+7
|
* SERVER-59682 Recover SBE plans from the new plan cacheRuoxin Xu2022-01-171-2/+7
|
* Revert "SERVER-62239 Put tenantId on opCtx if passed as $tenant"Kaloian Manassiev2022-01-161-7/+7
| | | | | | | Revert "SERVER-61986 Add TenantNamespace to Collection object" This reverts commit da6685f2648051ce806ad700d31787a1f365cfdc. This reverts commit 560cf02296f03685faaaf5f655dec00316dbbd85.
* SERVER-61986 Add TenantNamespace to Collection objectjannaerin2022-01-141-7/+7
|
* SERVER-60066 Remove plan cache entries on collection dropAlexander Ignatyev2021-11-031-1/+1
|
* SERVER-58429 Remove unused solutions argument when caching a planIrina Yatsenko2021-11-021-7/+3
|
* SERVER-60338 Refine SBE query shape and implement plan cache key encodingRuoxin Xu2021-10-141-1/+1
|
* SERVER-59854 Remove PlanCacheIndexabilityState from the PlanCacheRuoxin Xu2021-09-241-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 cacheAlexander Ignatyev2021-09-171-6/+6
|
* SERVER-59332 Convert PlanCache to a template class80741223+jlap199@users.noreply.github.com2021-08-251-0/+1
|
* SERVER-57096 Make SBE rely purely on the kExternal lock policyDavid Storch2021-06-151-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 Gorman2021-04-021-3/+3
| | | | CommandReply suffixes
* SERVER-53060 Remove QueryRequest classRuoxin Xu2021-02-171-18/+18
|
* SERVER-53435 Make queries run with DBHelpers plus SBE circumvent ↵David Storch2021-01-151-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 SBEAnton Korshunov2020-12-041-1/+1
|
* SERVER-40361 Don't store debug info once plan cache size grows largeDavid Storch2020-10-221-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 Neupauer2020-06-111-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 Martin2019-06-101-5/+6
|
* 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-38069: Ensure WT transactions are not re-opened during plan updatesJacob Evans2018-12-181-23/+18
|
* Revert "SERVER-38069 Ensure WT transactions are not re-opened during plan ↵Gregory Wlodarek2018-12-141-18/+23
| | | | | | updates" This reverts commit ac39ac47d776bbd0f442f945d4ae6091b73cfb03.
* SERVER-38069 Ensure WT transactions are not re-opened during plan updatesJacob Evans2018-12-141-23/+18
|
* SERVER-33303 Add stable plan cache key and use for index filtersIan Boros2018-11-061-1/+2
|
* Revert "SERVER-33303 Add stable plan cache key and use for index filters"Ian Boros2018-11-061-2/+1
| | | | This reverts commit 36d4668e854d8bd17e8b684dbbf42b3b0903bbe7.
* SERVER-33303 Add stable plan cache key and use for index filtersIan Boros2018-11-061-1/+2
|
* SERVER-37651 Update header files with new licenseRamon Fernandez2018-10-221-8/+10
|
* SERVER-35333 caching plans for allPaths indexesIan Boros2018-08-311-7/+22
|
* SERVER-35981 Include hash of plan cache key in planCacheListShapes and ↵Haley Connelly2018-08-021-6/+2
| | | | planCacheListPlans
* SERVER-34798 Remove ServiceContext subclasses and use new ServiceContext in ↵Andy Schwerin2018-06-221-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 inactiveIan Boros2018-06-141-3/+3
|
* SERVER-31610 Add timestamp to plan cache entriesjannaerin2017-11-131-1/+4
|
* SERVER-29840 Add allowed features bitmask to MatchExpressionParser::parseTess Avitabile2017-08-251-7/+3
|
* SERVER-27975 Remove many uses of `OwnedPointerVector`ADAM David Alan Martin2017-03-101-2/+3
| | | | | This removes many of the remaining uses of the deprecated `OwnedPointerVector` type.
* SERVER-27938 Rename all OperationContext variables to opCtxMaria van Keulen2017-03-071-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::ComparatorInterfaceDavid Storch2016-08-181-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 Hatch2016-08-041-0/+38
|
* SERVER-23882 Collation should be considered part of a query's shapeTess Avitabile2016-07-071-24/+123
|
* Revert "SERVER-23882 Collation should be considered part of a query's shape"Scott Hernandez2016-07-071-123/+24
| | | | This reverts commit 582818dac41ac01975820c09f79d3b86dc3782cc.
* SERVER-23882 Collation should be considered part of a query's shapeTess Avitabile2016-07-071-24/+123
|
* SERVER-24118 Rename LiteParsedQuery to QueryRequest.David Hatch2016-06-031-15/+15
|
* SERVER-23971 Clang-Format codeMark Benvenuto2016-05-281-14/+14
|
* SERVER-24045 Refactor CanonicalQuery::canonicalize()Tess Avitabile2016-05-101-18/+17
|
* SERVER-23610 CanonicalQuery should own a CollatorInterfaceTess Avitabile2016-05-051-14/+21
|
* SERVER-21407 explicitly disallow $text/$where extensions during ↵David Storch2015-12-221-3/+10
| | | | MatchExpression parsing
* SERVER-19235 CQ::canonicalize() to use NamespaceString rather than std::stringQingyang Chen2015-07-271-37/+49
|
* SERVER-16889 CanonicalQuery::canonicalize() return SW<unique_ptr<CQ>>Qingyang Chen2015-06-231-10/+11
|