summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-27420 explicitly parse first pipeline element in checkAuthForCommandKyle Suarez2017-02-133-31/+274
| | | | This also adds infrastructure to allow unit-testing the aggregation authorization code.
* SERVER-26734 indexStats action is not sufficient for $indexStatsKyle Suarez2017-02-131-3/+2
|
* SERVER-25865 use boost::unordered_map in DocumentSourceGroupDavid Storch2017-01-171-3/+3
|
* SERVER-24386 Use a valid OperationContext when killing $lookup's cursorCharlie Swanson2016-11-073-4/+62
|
* SERVER-24168 Increase tolerance of random sampling tests.Charlie Swanson2016-10-051-5/+7
| | | | | | | | SampleRandomCursorBasics::MimicNonOptimized has failed a couple times with values that were close to the acceptable cutoffs. This commit increases the acceptable cutoffs. (cherry picked from commit 461ee5376cbe09cb5c0c4b1db118a3d5a5973a7e)
* SERVER-25039 Abort aggregation planning when a catalog operation occurs.Max Hirschhorn2016-09-082-30/+52
| | | | | | | This prevents the aggregation system from trying to continue query planning when the collection longer exists. (cherry picked from commit 82cd8943dab085447ee180d4d59c2c5da778c523)
* SERVER-22537 Fix DBDirectClient's OperationContext not getting updated.Max Hirschhorn2016-02-294-5/+66
| | | | | | | | | | | | | This fixes an issue where the DBDirectClient used by the $lookup stage would have the previous OperationContext and trigger an invalid memory access when sending a getMore request as it unwinds the results. Calling PipelineProxyStage::doDetachFromOperationContext() now causes the DBDirectClient's OperationContext to be set to nullptr, and PipelineProxyStage::doReattachToOperationContext() causes it to be set to the current OperationContext. (cherry picked from commit e1928f36d21a4193802d7fbdcb8fcd6df58f7aa7)
* SERVER-19510 Refactor $text match expression parsingJason Rassi2015-11-121-2/+3
| | | | | | | - Text parsing no longer uses dedicated callback handle; responsibility moved to ExtensionsCallback. - Introduces TextMatchExpressionBase (new base class for existing class TextMatchExpression and new class TextNoOpMatchExpression).
* SERVER-21220 ESE - mongo side temp file coverage (fixed unit tests)Andreas Nilsson2015-11-112-1/+10
|
* Revert "SERVER-21220 ESE - mongo side temp file coverage"Andreas Nilsson2015-11-111-2/+1
| | | | This reverts commit 3c090e1ad8b0f6d555396554abad7ea3747961af.
* SERVER-21220 ESE - mongo side temp file coverageAndreas Nilsson2015-11-111-1/+2
|
* SERVER-19510 Refactor WhereMatchExpression/WhereNoOpMatchExpressionJason Rassi2015-11-061-0/+1
| | | | | | | | | | - Moves ExtensionsCallbackReal and ExtensionsCallbackNoop to their own files, and introduces a new library 'expressions_mongod_only' in db/matcher/. - Introduces a common base class for WhereMatchExpression and WhereNoOpMatchExpression. - Introduces a protected method extractWhereMatchExpressionParams() on ExtensionsCallback.
* SERVER-19510 ExtensionsCallbackReal ctor take ptr to NamespaceStringJason Rassi2015-11-051-1/+1
|
* SERVER-19510 Rename MatchExpressionParser::WhereCallbackJason Rassi2015-11-052-5/+5
|
* SERVER-21287 $lookup should always make $eq queriesMathias Stearn2015-11-041-1/+7
|
* SERVER-20609 use getFields instead of calling getField 4xAdam Midvidy2015-10-301-1/+1
|
* SERVER-21160: revert woCompare to using unsigned comparison for TimestampGeert Bosch2015-10-301-0/+7
|
* SERVER-20972 indexStats should not assert on missing db or collectionJames Wahlin2015-10-301-12/+9
|
* SERVER-19095 Move $lookup to community editionCharlie Swanson2015-10-304-1/+439
|
* Revert "SERVER-21160: revert woCompare to using unsigned comparison for ↵Geert Bosch2015-10-291-7/+0
| | | | | | Timestamp" This reverts commit adcef363bccdb179e448b47e18ba5541d9a60eab.
* SERVER-21160: revert woCompare to using unsigned comparison for TimestampGeert Bosch2015-10-281-0/+7
|
* SERVER-20969 Restrict $indexStats to first pipeline stageJames Wahlin2015-10-287-24/+7
|
* SERVER-20906 fix compileMathias Stearn2015-10-231-1/+1
|
* SERVER-20906 Add a random cursor implementation for mmap_v1 storage engineCharlie Swanson2015-10-231-8/+40
|
* SERVER-16609: Move storage_options to its own libraryGeert Bosch2015-10-092-2/+2
|
* SERVER-20168 Empty array should not be present in document after $unwindCharlie Swanson2015-10-073-5/+9
|
* SERVER-20595 The includeArrayIndex option to $unwind should specify a pathCharlie Swanson2015-10-073-110/+302
|
* SERVER-20520 Include index key in $indexStats return documentsJames Wahlin2015-10-071-0/+1
|
* SERVER-20680 Naming changes to $indexStats aggregation outputJames Wahlin2015-09-301-4/+3
|
* SERVER-20504 Rename $lookUp stage to $lookupCharlie Swanson2015-09-232-2/+2
|
* SERVER-18084 Remove usages of ShardingState::get(globalOperationContext())Kaloian Manassiev2015-09-221-6/+5
| | | | | So that call can be removed in place of the variant, which accepts OperationContext.
* SERVER-18520 Add move support to Document and ValueMathias Stearn2015-09-183-16/+66
|
* SERVER-20214 Stop supporting majority read concern level with MapReduce and ↵Mathias Stearn2015-09-172-2/+9
| | | | Aggregation $out
* SERVER-4588 Add option to $unwind stage to include array index in outputCharlie Swanson2015-09-113-61/+239
| | | | | | | | | | | Adds a includeArrayIndex option to the $unwind stage. If this option is specified, the $unwind stage will output values with the structure {index: <array index>, value: <array value>} instead of just the array value. Note this does not affect the behavior non-arrays or empty arrays. If includeArrayIndex and preserveNullAndEmptyArrays are both specified, values from a non-empty array will have an index attached, and all other values will pass through unchanged.
* SERVER-20168 Add option to $unwind stage for treatment of nullish valuesCharlie Swanson2015-09-114-167/+349
| | | | | | | | | Adds a preserveNullAndEmptyArrays option to the $unwind stage. If this option is specified, the $unwind stage will allow documents with nullish values for the specified unwinding path, or those with an empty array as the value for that path, to pass through unaltered. Note this does not affect the behavior of non-nullish, non-array values.
* SERVER-2227 Addition of index usage statisticsJames Wahlin2015-09-035-3/+145
|
* SERVER-18767 fix bug preventing mongod from using the ShardFilterStage for ↵David Storch2015-08-311-2/+1
| | | | the find command
* SERVER-20121 Use unsigned arithmetic in PsuedoRandomMathias Stearn2015-08-281-4/+0
|
* SERVER-18022 Fix places relying on old $readMajorityTemporaryNameMathias Stearn2015-08-281-0/+5
|
* SERVER-19182 Avoid crash during pipeline with an initial $sample stage on a ↵Charlie Swanson2015-08-271-1/+2
| | | | non-existent collection
* SERVER-19182 Integrate storage engine optimizations into $sample stageCharlie Swanson2015-08-2712-74/+520
|
* SERVER-12015 Re-enable use of covering indices in an aggregation pipelineCharlie Swanson2015-08-273-74/+160
|
* SERVER-9666 Tag cyclic or incomplete libraries, add more missing edgesAndrew Morrow2015-08-241-1/+7
|
* SERVER-9625 Logging arguments of failed test case in expression unit testsJames Cohan2015-08-141-6/+12
|
* SERVER-19877 Change format of accumulator unit testsJames Cohan2015-08-141-1045/+237
|
* SERVER-9625 Makes $sum, $avg, $min, $max, $stdDevPop, and $stdDevSamp ↵James Cohan2015-08-1110-32/+210
| | | | accumulators available as expressions
* SERVER-19095 Changes parsing of stages in authorization checking and adds ↵James Cohan2015-08-111-10/+9
| | | | enterprise pipeline tests to aggregation suite
* SERVER-9666 Add more misssing LIBDEP edgesAndrew Morrow2015-08-101-0/+1
|
* SERVER-18925 Enable pipeline merging to happen on random shard when possibleJames Cohan2015-08-071-0/+1
|
* SERVER-19548 Add $ceil, $floor, and $trunc aggregation expressionsCharlie Swanson2015-08-073-72/+264
|