summaryrefslogtreecommitdiff
path: root/src/mongo/db/query
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Revert "Merge branch 'v6.0' of github.com:10gen/mongo into v6.0""Eric Cox2022-06-225-75/+669
| | | | This reverts commit 44385b89a690f1feda55d8e888a08f33eab0a020.
* Revert "Merge branch 'v6.0' of github.com:10gen/mongo into v6.0"Eric Cox2022-06-225-669/+75
| | | | | This reverts commit e24af2270e6bc1d435845c8fdd02a1eb24155da2, reversing changes made to ecf315a92efb6283a4c8f3fd079dd81398563fa6.
* SERVER-66724 Create FLE 2 Equality Match ExpressionMark Benvenuto2022-06-175-75/+669
| | | | (cherry picked from commit 33d893ff83c2873202628e6002a7e35b5b296db8)
* SERVER-64994 Extend the planner to allow soft hints about index traversal ↵r6.0.0-rc10Matt Boros2022-06-1310-81/+222
| | | | | | direction (cherry picked from commit 00d2a56763b2b0da941a41684d20e7080da5058e)
* SERVER-66814 Use classic MatchExpression for applying filters in SBEIan Boros2022-06-097-147/+208
| | | | | Co-authored-by: Eric Cox <eric.cox@mongodb.com> (cherry picked from commit b16ad103a503897898fb91c5f9d198407e3e2abf)
* SERVER-66812 Fix bug with $group projection analysisCharlie Swanson2022-06-088-42/+57
| | | | (cherry picked from commit 8a3af130c7dba9936b30e17d25dd52a5802658ad)
* SERVER-65960 Fall back to classic engine when NLJ is chosenMihai Andrei2022-06-069-59/+139
| | | | (cherry picked from commit ccdab6f1abc1986e6f51d46addcb829a9cdd4489)
* SERVER-66718 Allow StorageInterfaceImpl to perform more clustered collection ↵Louis Williams2022-05-312-7/+27
| | | | | | scans (cherry picked from commit 600e8b6e84372f490dc4cdafce4bd5ef241e7072)
* SERVER-66583 Re-enable SBE as the default execution engine and fall back to ↵Mihai Andrei2022-05-274-42/+31
| | | | | | classic if no SBE compatible $group or $lookup exists (cherry picked from commit aa40f5e)
* SERVER-66533 update FLE array tag size estimationsergey.galtsev2022-05-271-1/+3
|
* SERVER-66551 Rename internalQueryEnableSlotBasedExecutionEngine back to ↵Mihai Andrei2022-05-1910-45/+36
| | | | | | internalQueryForceClassicEngine (cherry picked from commit 89945d5b9581f1baadc78a46fd87a07c090d053c)
* SERVER-66559 Expand the internalQueryMaxAddToSetBytes param from 32 to 64 bitsJames Wahlin2022-05-191-1/+1
| | | | (cherry picked from commit 57f6fcb999f4316084c7953df66b3c194460b1cf)
* SERVER-66445 Make the classic engine the default execution engineMihai Andrei2022-05-1710-87/+135
| | | | (cherry picked from commit 40109e237a0ffaf41d26b5465920d12bc6a3f304)
* SERVER-66389 Fix $where parameter bind-in optimizationDavid Storch2022-05-138-29/+65
| | | | (cherry picked from commit 48acc21bc952810c7028f79773905f9cdcce44af)
* SERVER-52286 Enable feature flag for Bucket Unpacking with Sorting, reduce ↵samontea2022-05-091-0/+6
| | | | FCV to 6.0
* SERVER-66163 Use index entry from IXScan to report IETAlexander Ignatyev2022-05-091-1/+2
| | | | (cherry picked from commit 39ccb28e092ad8f6e4748fceb59319ef32d97b02)
* SERVER-66064 Optimize FLE2 document countingMark Benvenuto2022-05-091-1/+2
| | | | (cherry picked from commit c23236c1b63f147f950d921a5411749e637d54ae)
* SERVER-66119 Avoid duplicated seek into index for local fields with nested ↵Irina Yatsenko2022-05-091-20/+27
| | | | | | arrays (cherry picked from commit 96b8052c9e34423534ac610fcb5b11bca7239d12)
* SERVER-65847 Construct simpler parameterized SBE index scan plans when possibleDenis Grebennicov2022-05-093-180/+361
|
* SERVER-65050 Optimize time-series sorting with point query on metadataDavid Percy2022-05-062-0/+12
|
* SERVER-66245 Copy sbeCompatible flag for subqueriesAlexander Ignatyev2022-05-061-0/+1
| | | | (cherry picked from commit 6bf7fbe9eefff52f49b0f7898c86d7bec4d5985a)
* SERVER-65345 Check if CanonicalQuery has pushed down stagesAlexander Ignatyev2022-05-051-1/+3
| | | | (cherry picked from commit 8aa42af0644b93e794db1b824238c4b2ab203d25)
* SERVER-65541 Fix coverity uninitialized member in CollectionScanNodeJoel Redman2022-05-051-1/+1
|
* SERVER-61485 Wrong SBE plan reported by explain() for rejected plansDenis Grebennicov2022-05-051-3/+3
|
* SERVER-64315 Re-enable caching of SBE plans when there is a single query ↵David Storch2022-05-043-12/+10
| | | | | | | | solution This reverts commit f8589f840c8fee60abc482d2d2c41979e356922a. (cherry picked from commit f462237ac17a9c8a3e4a5a3fb6bbe6a966d4be85)
* SERVER-65793 Do not parameterize queries with TEXT match expression nodeAlexander Ignatyev2022-05-043-26/+79
| | | | (cherry picked from commit 9ca1d39e1ad5317bf3e8dcbef937f165f991d74c)
* SERVER-55112 Make distinct on a view match distinct on a collection for ↵Ted Tuckman2022-05-044-42/+74
| | | | certain array cases
* SERVER-66015 Distinguish simple and non-simple regexes in SBE plan cache keyDavid Storch2022-05-035-139/+251
| | | | (cherry picked from commit 2cee6cb397119b83fa45b53743e3bcea4106c5fc)
* SERVER-61782 SERVER-63835 Use futures in transaction API run implementation ↵Jack Mulrow2022-04-281-1/+1
| | | | | | and simplify construction (cherry picked from commit 06252c6c7d4e5f6afd5a216547e8793c4bedc740)
* SERVER-65532 Avoid calls to fillOutSecondaryCollectionsInformation() in ↵Ruoxin Xu2022-04-271-19/+8
| | | | | | PrepareExecutionHelper (cherry picked from commit c516a8fc886219c1ef6e9a4eb30cf2cfadda8ee9)
* SERVER-63344 Avoid cloning the SBE tree inside the plan cache mutexRuoxin Xu2022-04-275-138/+234
| | | | (cherry picked from commit 2c0f447cffcf29c906589ca1c17aa9c0739e3e5b)
* SERVER-65085 SBE plan cache entries can be incorrectly reused after a ↵Denis Grebennicov2022-04-272-14/+33
| | | | refineCollectionShardKey operation
* SERVER-65665 Disable sparse indexes from SBE $lookupNikita Lapkov2022-04-261-1/+2
| | | | (cherry picked from commit 568226e1d66e88880daa901bea011aa8ed83d501)
* SERVER-65814 Avoid resetting system variables on plan recovery if they're ↵Denis Grebennicov2022-04-261-3/+6
| | | | not registered in RuntimeEnvironment
* SERVER-65489 Make unwind of the terminal foreign key value conditioned on ↵Irina Yatsenko2022-04-251-2/+41
| | | | | | whether the value is an array (cherry picked from commit 55c81877e5c873f0aa66603552ea4bab8e5caec9)
* SERVER-65665 Disallow the use of indexes with partial filter expressions in ↵Mihai Andrei2022-04-221-1/+1
| | | | INLJ (cherry picked from commit b02798f3032ff6df56a45b4bcb9296b247c37be4)
* SERVER-65779 Pass IndexBounds directly to the CheckBounds stageDenis Grebennicov2022-04-221-11/+10
|
* SERVER-65477 Allow plan_cache_replanning.js to run with the SBE plan cache ↵David Storch2022-04-201-0/+8
| | | | | | enabled (cherry picked from commit 717d8209e0cc15f9a86b4ddd2700e1ad3bab2c0a)
* SERVER-65653 Fix expected output of optimizertest/FilterIndexingVariable ↵Svilen Mihaylov2022-04-201-244/+63
| | | | under macos
* SERVER-65083 Fix SBE plan cache index visibility bugDavid Storch2022-04-205-10/+82
| | | | (cherry picked from commit 58219cc81297ed4c3a38045c55588fe16d59a53a)
* SERVER-65686 split sbe_query_stages lib out of sbe_queryIrina Yatsenko2022-04-191-0/+1
| | | | (cherry picked from commit 5689f05f30f299560fad5e9eacadc19c54947c91)
* SERVER-65265 Track memory for unbounded accumulators in SBEIrina Yatsenko2022-04-182-8/+60
| | | | (cherry picked from commit 668b505cbdeced9e6de7ff1ed3dcf76068ae375d)
* SERVER-65338 Runtime configurable query knob to disable SBE $lookup and $groupMihai Andrei2022-04-141-0/+16
| | | | | Co-authored-by: Ethan Zhang <ethan.zhang@mongodb.com> (cherry picked from commit 58fc2711d096a94532d3cf087f0ab476a0c29aee)
* SERVER-65388 Pass PrefixId by reference in optimizeGroup()Svilen Mihaylov2022-04-136-96/+83
|
* SERVER-64443 Verify that replanning works for HashJoinMihai Andrei2022-04-135-12/+19
|
* SERVER-65419 Fix generation of ABT hashes for types with unordered mapsSvilen Mihaylov2022-04-136-31/+8
|
* Revert "SERVER-64443 Verify that replanning works for HashJoin"auto-revert-processor2022-04-135-19/+12
| | | | This reverts commit b74d02e64d4c0e5d6a55022b53cbb3abb2c04fba.
* SERVER-64443 Verify that replanning works for HashJoinMihai Andrei2022-04-135-12/+19
|
* SERVER-58225 Enable featureFlagSbePlanCacheDavid Storch2022-04-131-1/+2
|
* SERVER-63208 Make allowDiskUse opt-out rather than opt-inRomans Kasperovics2022-04-122-1/+4
|