Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SERVER-27420 explicitly parse first pipeline element in checkAuthForCommand | Kyle Suarez | 2017-02-13 | 3 | -31/+274 |
| | | | | This also adds infrastructure to allow unit-testing the aggregation authorization code. | ||||
* | SERVER-26734 indexStats action is not sufficient for $indexStats | Kyle Suarez | 2017-02-13 | 1 | -3/+2 |
| | |||||
* | SERVER-25865 use boost::unordered_map in DocumentSourceGroup | David Storch | 2017-01-17 | 1 | -3/+3 |
| | |||||
* | SERVER-24386 Use a valid OperationContext when killing $lookup's cursor | Charlie Swanson | 2016-11-07 | 3 | -4/+62 |
| | |||||
* | SERVER-24168 Increase tolerance of random sampling tests. | Charlie Swanson | 2016-10-05 | 1 | -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 Hirschhorn | 2016-09-08 | 2 | -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 Hirschhorn | 2016-02-29 | 4 | -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 parsing | Jason Rassi | 2015-11-12 | 1 | -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 Nilsson | 2015-11-11 | 2 | -1/+10 |
| | |||||
* | Revert "SERVER-21220 ESE - mongo side temp file coverage" | Andreas Nilsson | 2015-11-11 | 1 | -2/+1 |
| | | | | This reverts commit 3c090e1ad8b0f6d555396554abad7ea3747961af. | ||||
* | SERVER-21220 ESE - mongo side temp file coverage | Andreas Nilsson | 2015-11-11 | 1 | -1/+2 |
| | |||||
* | SERVER-19510 Refactor WhereMatchExpression/WhereNoOpMatchExpression | Jason Rassi | 2015-11-06 | 1 | -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 NamespaceString | Jason Rassi | 2015-11-05 | 1 | -1/+1 |
| | |||||
* | SERVER-19510 Rename MatchExpressionParser::WhereCallback | Jason Rassi | 2015-11-05 | 2 | -5/+5 |
| | |||||
* | SERVER-21287 $lookup should always make $eq queries | Mathias Stearn | 2015-11-04 | 1 | -1/+7 |
| | |||||
* | SERVER-20609 use getFields instead of calling getField 4x | Adam Midvidy | 2015-10-30 | 1 | -1/+1 |
| | |||||
* | SERVER-21160: revert woCompare to using unsigned comparison for Timestamp | Geert Bosch | 2015-10-30 | 1 | -0/+7 |
| | |||||
* | SERVER-20972 indexStats should not assert on missing db or collection | James Wahlin | 2015-10-30 | 1 | -12/+9 |
| | |||||
* | SERVER-19095 Move $lookup to community edition | Charlie Swanson | 2015-10-30 | 4 | -1/+439 |
| | |||||
* | Revert "SERVER-21160: revert woCompare to using unsigned comparison for ↵ | Geert Bosch | 2015-10-29 | 1 | -7/+0 |
| | | | | | | Timestamp" This reverts commit adcef363bccdb179e448b47e18ba5541d9a60eab. | ||||
* | SERVER-21160: revert woCompare to using unsigned comparison for Timestamp | Geert Bosch | 2015-10-28 | 1 | -0/+7 |
| | |||||
* | SERVER-20969 Restrict $indexStats to first pipeline stage | James Wahlin | 2015-10-28 | 7 | -24/+7 |
| | |||||
* | SERVER-20906 fix compile | Mathias Stearn | 2015-10-23 | 1 | -1/+1 |
| | |||||
* | SERVER-20906 Add a random cursor implementation for mmap_v1 storage engine | Charlie Swanson | 2015-10-23 | 1 | -8/+40 |
| | |||||
* | SERVER-16609: Move storage_options to its own library | Geert Bosch | 2015-10-09 | 2 | -2/+2 |
| | |||||
* | SERVER-20168 Empty array should not be present in document after $unwind | Charlie Swanson | 2015-10-07 | 3 | -5/+9 |
| | |||||
* | SERVER-20595 The includeArrayIndex option to $unwind should specify a path | Charlie Swanson | 2015-10-07 | 3 | -110/+302 |
| | |||||
* | SERVER-20520 Include index key in $indexStats return documents | James Wahlin | 2015-10-07 | 1 | -0/+1 |
| | |||||
* | SERVER-20680 Naming changes to $indexStats aggregation output | James Wahlin | 2015-09-30 | 1 | -4/+3 |
| | |||||
* | SERVER-20504 Rename $lookUp stage to $lookup | Charlie Swanson | 2015-09-23 | 2 | -2/+2 |
| | |||||
* | SERVER-18084 Remove usages of ShardingState::get(globalOperationContext()) | Kaloian Manassiev | 2015-09-22 | 1 | -6/+5 |
| | | | | | So that call can be removed in place of the variant, which accepts OperationContext. | ||||
* | SERVER-18520 Add move support to Document and Value | Mathias Stearn | 2015-09-18 | 3 | -16/+66 |
| | |||||
* | SERVER-20214 Stop supporting majority read concern level with MapReduce and ↵ | Mathias Stearn | 2015-09-17 | 2 | -2/+9 |
| | | | | Aggregation $out | ||||
* | SERVER-4588 Add option to $unwind stage to include array index in output | Charlie Swanson | 2015-09-11 | 3 | -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 values | Charlie Swanson | 2015-09-11 | 4 | -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 statistics | James Wahlin | 2015-09-03 | 5 | -3/+145 |
| | |||||
* | SERVER-18767 fix bug preventing mongod from using the ShardFilterStage for ↵ | David Storch | 2015-08-31 | 1 | -2/+1 |
| | | | | the find command | ||||
* | SERVER-20121 Use unsigned arithmetic in PsuedoRandom | Mathias Stearn | 2015-08-28 | 1 | -4/+0 |
| | |||||
* | SERVER-18022 Fix places relying on old $readMajorityTemporaryName | Mathias Stearn | 2015-08-28 | 1 | -0/+5 |
| | |||||
* | SERVER-19182 Avoid crash during pipeline with an initial $sample stage on a ↵ | Charlie Swanson | 2015-08-27 | 1 | -1/+2 |
| | | | | non-existent collection | ||||
* | SERVER-19182 Integrate storage engine optimizations into $sample stage | Charlie Swanson | 2015-08-27 | 12 | -74/+520 |
| | |||||
* | SERVER-12015 Re-enable use of covering indices in an aggregation pipeline | Charlie Swanson | 2015-08-27 | 3 | -74/+160 |
| | |||||
* | SERVER-9666 Tag cyclic or incomplete libraries, add more missing edges | Andrew Morrow | 2015-08-24 | 1 | -1/+7 |
| | |||||
* | SERVER-9625 Logging arguments of failed test case in expression unit tests | James Cohan | 2015-08-14 | 1 | -6/+12 |
| | |||||
* | SERVER-19877 Change format of accumulator unit tests | James Cohan | 2015-08-14 | 1 | -1045/+237 |
| | |||||
* | SERVER-9625 Makes $sum, $avg, $min, $max, $stdDevPop, and $stdDevSamp ↵ | James Cohan | 2015-08-11 | 10 | -32/+210 |
| | | | | accumulators available as expressions | ||||
* | SERVER-19095 Changes parsing of stages in authorization checking and adds ↵ | James Cohan | 2015-08-11 | 1 | -10/+9 |
| | | | | enterprise pipeline tests to aggregation suite | ||||
* | SERVER-9666 Add more misssing LIBDEP edges | Andrew Morrow | 2015-08-10 | 1 | -0/+1 |
| | |||||
* | SERVER-18925 Enable pipeline merging to happen on random shard when possible | James Cohan | 2015-08-07 | 1 | -0/+1 |
| | |||||
* | SERVER-19548 Add $ceil, $floor, and $trunc aggregation expressions | Charlie Swanson | 2015-08-07 | 3 | -72/+264 |
| |