summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline
Commit message (Collapse)AuthorAgeFilesLines
...
* SERVER-45981 Prevent duplicating action upon receiving notice that a given ↵Blake Oler2020-02-111-0/+2
| | | | shard is stale
* SERVER-45530 Implement $match and $project duplication and pushdown across ↵Jacob Evans2020-02-108-16/+240
| | | | $unionWith
* SERVER-45807 Add change stream stage to fetch pre-image for ↵Jonathan Reams2020-02-1010-22/+727
| | | | | | | | | | update/replace/delete events create mode 100644 jstests/change_streams/lookup_pre_image.js create mode 100644 jstests/noPassthrough/change_stream_pre_image_lookup_whole_db_whole_cluster.js create mode 100644 jstests/noPassthrough/change_stream_preimages_fail_on_mongos.js create mode 100644 src/mongo/db/pipeline/document_source_lookup_change_pre_image.cpp create mode 100644 src/mongo/db/pipeline/document_source_lookup_change_pre_image.h
* Revert "SERVER-45530 Implement $match and $project duplication and pushdown ↵William Schultz2020-02-078-246/+16
| | | | | | across $unionWith" This reverts commit 9955e3ab374e26b8428378dfabf94ce89f00aaa6.
* SERVER-45453 Change name and usage of '$_internalJs' to '$function'Katherine Wu2020-02-077-139/+253
|
* SERVER-45530 Implement $match and $project duplication and pushdown across ↵Jacob Evans2020-02-078-16/+246
| | | | $unionWith
* Revert "SERVER-45453 Change name and usage of '$_internalJs' to '$function'"Katherine Wu2020-02-077-253/+139
| | | | This reverts commit 656313f6c949a5c49c42d080548067d5a8c37047.
* SERVER-45453 Change name and usage of '$_internalJs' to '$function'Katherine Wu2020-02-077-139/+253
|
* Revert "SERVER-45530 Implement $match and $project duplication and pushdown ↵William Schultz2020-02-078-244/+16
| | | | | | across $unionWith" This reverts commit 942ec3300e82672536f34d8273314c5504ae91fb.
* SERVER-45456 Allow JavaScript on mongosJames Wahlin2020-02-079-12/+83
| | | | | | | create mode 100644 jstests/noPassthrough/mr_noscripting.js delete mode 100644 jstests/noPassthroughWithMongod/mr_noscripting.js create mode 100644 jstests/sharding/agg_js_on_mongos.js create mode 100644 jstests/sharding/javascript_heap_limit.js
* SERVER-45505 Add ResumableChangeStreamError error labelBernard Gorman2020-02-074-7/+7
| | | | | | delete mode 100644 jstests/change_streams/error_label.js create mode 100644 jstests/noPassthrough/change_stream_error_label.js create mode 100644 jstests/sharding/change_stream_error_label.js
* SERVER-45530 Implement $match and $project duplication and pushdown across ↵Jacob Evans2020-02-068-16/+244
| | | | $unionWith
* SERVER-45529 Add new stage constraint for $unionWith sub-pipelineNicholas Zolnierz2020-02-0644-38/+132
|
* SERVER-45838 Fix lintMark Benvenuto2020-02-051-2/+2
|
* SERVER-45838 Rename/restructure mongo_process_interface classes and filesCharlie Swanson2020-02-0535-516/+631
| | | | | | | | | | | | | | | | | | | | | | create mode 100644 src/mongo/db/pipeline/process_interface/SConscript rename src/mongo/db/pipeline/{process_interface_standalone.cpp => process_interface/common_mongod_process_interface.cpp} (72%) rename src/mongo/db/pipeline/{process_interface_standalone.h => process_interface/common_mongod_process_interface.h} (69%) rename src/mongo/db/pipeline/{mongo_process_common.cpp => process_interface/common_process_interface.cpp} (91%) rename src/mongo/db/pipeline/{mongo_process_common.h => process_interface/common_process_interface.h} (91%) rename src/mongo/db/pipeline/{ => process_interface}/mongo_process_interface.cpp (96%) rename src/mongo/db/pipeline/{ => process_interface}/mongo_process_interface.h (100%) rename src/mongo/db/pipeline/{process_interface_factory_mongod.cpp => process_interface/mongod_process_interface_factory.cpp} (84%) rename src/mongo/db/pipeline/{ => process_interface}/mongos_process_interface.cpp (93%) rename src/mongo/db/pipeline/{ => process_interface}/mongos_process_interface.h (97%) rename src/mongo/db/pipeline/{ => process_interface}/mongos_process_interface_test.cpp (84%) create mode 100644 src/mongo/db/pipeline/process_interface/non_shardsvr_process_interface.cpp create mode 100644 src/mongo/db/pipeline/process_interface/non_shardsvr_process_interface.h rename src/mongo/db/pipeline/{process_interface_shardsvr.cpp => process_interface/shardsvr_process_interface.cpp} (88%) rename src/mongo/db/pipeline/{process_interface_shardsvr.h => process_interface/shardsvr_process_interface.h} (95%) rename src/mongo/db/pipeline/{process_interface_standalone_test.cpp => process_interface/shardsvr_process_interface_test.cpp} (95%) rename src/mongo/db/pipeline/{stub_mongo_process_interface_lookup_single_document.cpp => process_interface/stub_lookup_single_document_process_interface.cpp} (89%) rename src/mongo/db/pipeline/{stub_mongo_process_interface_lookup_single_document.h => process_interface/stub_lookup_single_document_process_interface.h} (93%) rename src/mongo/db/pipeline/{ => process_interface}/stub_mongo_process_interface.h (99%)
* SERVER-45854 Hold WorkingSetMembers at a distance for sorting.David Storch2020-02-051-1/+1
| | | | | | This change improves the performance of blocking sort operations executed in the PlanStage layer using the SortStage.
* SERVER-45452 Support for reading from a view (unsharded)Charlie Swanson2020-02-032-72/+159
|
* SERVER-45801 Allow $unionWith inside a $lookup if the inner collection is ↵Nicholas Zolnierz2020-02-031-7/+10
| | | | unsharded
* SERVER-45526 Enable sharded unionWithTed Tuckman2020-02-0317-65/+111
| | | | | create mode 100644 jstests/aggregation/sources/unionWith/unionWith.js create mode 100644 jstests/noPassthrough/unionWith_sharded_unsharded_mix.js
* SERVER-45778 Rename getOrphanFilter to getOwnershipFilter and change the ↵Marcos José Grillo Ramírez2020-02-032-8/+8
| | | | return type
* SERVER-45573 Implement and test auth for $unionWithNicholas Zolnierz2020-01-319-126/+148
|
* SERVER-45846 Improve performance of $splitIan Boros2020-01-291-20/+14
|
* SERVER-45590 Allow building a LiteParsedPipeline without first building an ↵Arun Banala2020-01-2925-154/+158
| | | | AggregationRequest
* SERVER-45674 Avoid use after free in $unionWithCharlie Swanson2020-01-281-2/+4
| | | | create mode 100644 jstests/aggregation/sources/unionWith/unionWith_basic.js
* SERVER-45790 Robustify $unionWith parsingCharlie Swanson2020-01-284-34/+89
| | | | create mode 100644 src/mongo/db/pipeline/document_source_union_with.idl
* SERVER-45528 Split/consolidate sharded_agg_helpers andNicholas Zolnierz2020-01-275-846/+584
| | | | | cluster_aggregation_planner libraries to distinguish methods on mongod vs mongos
* SERVER-45725 Update dependencies for $unionWithNicholas Zolnierz2020-01-272-1/+48
|
* SERVER-44484 Allow change stream update lookup to retrieve post-image by _idBernard Gorman2020-01-251-61/+50
| | | | create mode 100644 jstests/sharding/change_streams_unsharded_update_resume.js
* SERVER-45058 Report currentOp.active as false when internal services block ↵Amirsaman Memaripour2020-01-231-1/+2
| | | | on condvars
* SERVER-45704 Guard $unionWith behind testCommandsEnabled flagNicholas Zolnierz2020-01-231-3/+3
|
* SERVER-44773 Optimise queries to cover on sharded clusters when using ↵Arun Banala2020-01-223-6/+17
| | | | | | compound hashed index create mode 100644 jstests/sharding/compound_hashed_shard_key_covered_query.js
* SERVER-45399 Stack variable comparator lifetime fix v2Jacob Evans2020-01-211-2/+4
|
* SERVER-45581 Configure the incremental backup API to allow block size ↵Gregory Wlodarek2020-01-215-6/+7
| | | | granularity to be specified
* SERVER-45549 make aggregate command on mongos always send RWC (and use RWC ↵Kevin Pulo2020-01-201-11/+17
| | | | defaults)
* SERVER-45399 Stack variable comparator lifetime fixJacob Evans2020-01-181-1/+2
|
* SERVER-45399 Add basic union aggregation stage for unsharded collectionsJacob Evans2020-01-174-0/+623
|
* SERVER-44501 Modify the RoutingTableHistory to check if a particular shard ↵Blake Oler2020-01-151-0/+2
| | | | has been indicated to need a refresh
* SERVER-45279 GranularityRounder rounding infinity case no longer causes ↵Sophie Saskin2020-01-142-2/+16
| | | | infinite loop
* SERVER-44406 Add $backupCursor API to forcefully disable incremental backupsGregory Wlodarek2020-01-135-20/+8
|
* SERVER-44252 Delete implicit collection creation loop through the config ↵Mihai Andrei2020-01-091-2/+2
| | | | server in sharding
* SERVER-44804 make collection of timing info in DS opt inIan Boros2020-01-071-0/+5
|
* SERVER-44830 Modify StaleConfigException handlers to handle a single shard ↵Blake Oler2020-01-071-6/+15
| | | | invalidation
* SERVER-44587 Modify StaleConfigInfo to take in and store a shard's IDBlake Oler2020-01-061-1/+3
|
* SERVER-45349 Disallow drop of temp collection in $out before index creationTed Tuckman2020-01-061-2/+4
|
* SERVER-42723 Set 'use44SortKeys' on change stream sent to config serversBernard Gorman2019-12-221-0/+1
|
* SERVER-44438 Have queryableBackupMode open WT in read/write modeGregory Wlodarek2019-12-201-1/+2
|
* SERVER-44318 M/R Agg: Reject MapReduce commands which would create a new ↵Charlie Swanson2019-12-182-1/+6
| | | | sharded collection
* SERVER-43816 Push $text and $meta:"textScore" sort into the PlanStage layer.David Storch2019-12-183-24/+9
| | | | | | | | | | | | | | | | | | This change involves unifying the behavior of find and agg for validation of $meta:"textScore". In particular, find operations no longer require a "textScore" $meta projection in order to specify a "textScore" $meta sort. This brings find into alignment with agg, which never had such a restriction. It is also now legal for a find command to sort on the field overridden by a $meta:"textScore" projection without specifying the $meta operator in the sort pattern. In addition: - Tightens validation around uses of "textScore" $meta projections for queries that do not specify a $text predicate. - Fixes a bug in which $natural sort/hint were not correctly validated.
* SERVER-31072 reorder $limit before $lookup in pipeline if no $unwind is presentKatherine Wu2019-12-174-5/+13
|
* SERVER-44897 remove MongoProcessInterface::setOperationContext()Benety Goh2019-12-169-47/+2
|