summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/document_source_bucket_auto.h
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-45447 Add $accumulator for user-defined Javascript accumulatorsDavid Percy2020-02-271-1/+2
|
* Revert "SERVER-45447 Add $accumulator for user-defined Javascript accumulators"Louis Williams2020-02-261-2/+1
| | | | This reverts commit 5b50a111c9361554bc7dbe6a8c63c885a5c29df6.
* SERVER-45447 Add $accumulator for user-defined Javascript accumulatorsDavid Percy2020-02-251-1/+2
|
* Revert "SERVER-45447 Add $accumulator for user-defined Javascript accumulators"David Percy2020-02-241-2/+1
| | | | This reverts commit 1315b6fdd3ade546c37364bcd4b0ba224adb7f58.
* SERVER-45447 Add $accumulator for user-defined Javascript accumulatorsDavid Percy2020-02-211-1/+2
|
* SERVER-45529 Add new stage constraint for $unionWith sub-pipelineNicholas Zolnierz2020-02-061-1/+2
|
* SERVER-42584 PlanStageStats in aggregationXinhao Zhang2019-08-161-1/+3
|
* SERVER-41701 [FLE] Add support for $bucket and $bucketAutoPawel Terlecki2019-06-191-0/+3
|
* SERVER-41180 Rename 'MergingLogic' to 'DistributedPlanLogic' to avoid ↵Arun Banala2019-05-241-2/+2
| | | | confusion with $merge
* SERVER-40949 add LookupAllowed stage constraintIan Boros2019-05-201-1/+2
| | | | This bans $merge and $sB from $lookup subpipelines
* Revert "SERVER-39403 Implement visitor for DocumentSource as precursor work for"Nick Zolnierz2019-04-111-4/+0
| | | | This reverts commit 1b00abfda7592d701f632b9550f973c56cea818f.
* SERVER-39403 Implement visitor for DocumentSource as precursor work forNick Zolnierz2019-04-101-0/+4
| | | | encryption in agg
* 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-38311 Change out merging strategyCharlie Swanson2019-02-131-6/+4
| | | | | Allows an $out stage to run in parallel on all shards if the target collection is sharded and so is the input collection to the aggregate.
* Revert " SERVER-38311 Adjust $out merging strategy"Charlie Swanson2019-01-161-4/+6
| | | | This reverts commit 0cb2195939494660334db8e9d0a52509caeb621c.
* SERVER-38311 Adjust $out merging strategyCharlie Swanson2019-01-161-6/+4
|
* SERVER-37651 Update header files with new licenseRamon Fernandez2018-10-221-21/+23
|
* SERVER-33323 Refactor agg cursor merging on mongosCharlie Swanson2018-08-151-1/+1
| | | | | | | | | | This commit makes it so that aggregations will always use a $mergeCursors as a wrapper around a AsyncResultsMerger, which is new behavior for mongos. As part of this refactor, we can delete the concept of a 'merging presorted' $sort stage (which is now handled by the AsyncResultsMerger) and delete the DocumentSourceRouterAdapter stage which talked to a RouterStageMerge, instead directly using a $mergeCursors stage.
* SERVER-35329 Package agg projection code for use outside of agg executionBernard Gorman2018-06-221-1/+1
|
* SERVER-25596 Rename SplittableDocumentSource to NeedsMergerDocumentSourceKevinCybura2018-05-111-1/+1
| | | | | | Closes #1237 Signed-off-by: Charlie Swanson <charlie.swanson@mongodb.com>
* SERVER-33541 Add readConcern level 'snapshot' support for aggregation.David Storch2018-03-091-1/+2
|
* SERVER-29141 Enable change streams on sharded collectionsCharlie Swanson2017-10-091-2/+2
|
* SERVER-29141 Extend StageConstraints to allow kLocalOnly and kMongos host ↵Bernard Gorman2017-10-041-1/+1
| | | | requirements, given pipeline split state
* SERVER-30871 Permit blocking aggregation stages to run on mongoS if ↵Bernard Gorman2017-09-271-0/+8
| | | | allowDiskUse is false
* SERVER-25980 Merge parallel vectors into one.ryankall2017-05-031-8/+2
| | | | | | | | | Merges the three parallel vectors in DocumentSourceGroup and DocumentSourceBucketAuto into one vector of AccumulationStatements. Closes #1143 Signed-off-by: Charlie Swanson <charlie.swanson@mongodb.com>
* SERVER-28651 Move agg var ownership to ExpressionContextJames Wahlin2017-04-291-3/+0
|
* SERVER-25694 Eliminate race in PlanExecutor cleanup.Charlie Swanson2017-04-131-1/+3
| | | | | | | | | | | Ensures that a collection lock is held in at least MODE_IS while deregistering a PlanExecutor from the cursor manager. Introduces new PlanExecutor::dispose() and ClientCursor::dispose() methods that must be called before destruction of those classes, and ensures they are called before destruction. These calls will thread an OperationContext all the way through to DocumentSource::dispose() for each stage in a Pipeline, which will give DocumentSourceCursor a chance to acquire locks and deregister its PlanExecutor if necessary.
* SERVER-19758 add support for "executionStats" and "allPlansExecution" to agg ↵David Storch2017-03-131-1/+1
| | | | | | | | | | | | | | | | | explain Like other explainable commands, aggregate can now be explained using the explain command, e.g. db.runCommand({explain: {aggregate: ...}, verbosity: "executionStats"}). The existing explain:true flag corresponds to "queryPlanner" mode and is still supported. However, explain:true cannot be specified when explaining aggregate via the explain command. Additional execution information is provided only in the $cursor section of the aggregation explain output. Having aggregation stages themselves track and report execution info is further work.
* SERVER-25535 Remove injectExpressionContext().Charlie Swanson2016-12-161-1/+4
| | | | | | | | | | | | | | | These methods were formally used to propagate a new ExpressionContext to stages, accumulators, or expressions which potentially needed to comparisons. Originally, this was necessary since Pipeline parsing happened outside of the collection lock and thus could not determine if there was a default collation on the collection. This meant that the collation could change after parsing and any operators that might compare strings would need to know about it. We have since moved parsing within the lock, so the collation can be known at parse time and the ExpressionContext should not change. This patch requires an ExpressionContext at construction time, and disallows changing the collation on an ExpressionContext.
* SERVER-22632 Split up document_source.h into one header per stage.Charlie Swanson2016-10-241-0/+158