summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/document_source_bucket_auto.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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-36644 remove AtomicWord typedefsBilly Donahue2019-01-071-1/+1
|
* SERVER-17010 each Sorter instance spills to a single file rather than a new ↵Dianna Hohensee2018-10-311-22/+39
| | | | file per spill to disk
* SERVER-37651 Update header files with new licenseRamon Fernandez2018-10-221-8/+10
|
* SERVER-35329 Package agg projection code for use outside of agg executionBernard Gorman2018-06-221-2/+2
|
* SERVER-30871 Permit blocking aggregation stages to run on mongoS if ↵Bernard Gorman2017-09-271-1/+1
| | | | allowDiskUse is false
* SERVER-30899 Aggregations sent from a 3.4 mongos should serialize 3.4 metadataTess Avitabile2017-09-061-1/+1
|
* SERVER-25980 Merge parallel vectors into one.ryankall2017-05-031-26/+25
| | | | | | | | | 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 Pass agg Variables root doc via Expression::evaluate()James Wahlin2017-05-031-4/+2
|
* SERVER-28651 Move agg var ownership to ExpressionContextJames Wahlin2017-04-291-16/+7
|
* SERVER-25694 Eliminate race in PlanExecutor cleanup.Charlie Swanson2017-04-131-2/+1
| | | | | | | | | | | 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-4/+5
| | | | | | | | | | | | | | | | | 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-11/+15
| | | | | | | | | | | | | | | 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-1/+1
|
* SERVER-25038 add LiteParsedPipelineDavid Storch2016-10-031-1/+4
| | | | | | This provides a way to do pre-parse validity checks. Full parsing of the Pipeline must be done under the collection lock, when the collation is known.
* SERVER-25688 Allow $bucketAuto to spill to disk.Charlie Swanson2016-09-131-48/+74
|
* SERVER-24153 Add/refactor create() methods for DocumentSourcesCharlie Swanson2016-09-071-18/+11
| | | | | This will make it easier to add tests that each DocumentSource correctly handles a paused input.
* SERVER-24153 Allow pipelines within $facet stage to process in batches.Charlie Swanson2016-09-011-8/+14
| | | | | This approach removes the need to buffer all documents in memory, thus removing concerns about spilling intermediate results to disk.
* SERVER-24152 add granularity option to $bucketAutoSally McNichols2016-08-051-18/+97
|
* SERVER-24152 add $bucketAuto aggregation stageSally McNichols2016-07-261-0/+391