summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/document_source_out.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* SERVER-29371 Add support for lite parse of namespace in nested $lookupJames Wahlin2017-06-221-2/+2
|
* 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-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/+17
| | | | | | 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-24153 Allow pipelines within $facet stage to process in batches.Charlie Swanson2016-09-011-56/+69
| | | | | This approach removes the need to buffer all documents in memory, thus removing concerns about spilling intermediate results to disk.
* SERVER-23100 Allow StringBuilder and str::stream to return StringData viewsMathias Stearn2016-08-291-2/+2
| | | | Avoids unnecessary copies when passing result to a function.
* SERVER-23073 Reliably detect concurrent changes to $out collection.Charlie Swanson2016-07-181-42/+41
| | | | | | | | | A $out stage will write to a temporary collection, and then rename into the target collection. If the original collection is sharded, has its options changed, or changes its indexes during processing, the aggregation should fail. This change removes any race conditions around detecting these changes.
* SERVER-24638 Move command processing from Pipeline to AggregationRequestCharlie Swanson2016-06-241-0/+4
|
* SERVER-24622 Every DocumentSource should implement detach/reattachToOpCtxCharlie Swanson2016-06-171-1/+1
|
* SERVER-23971 Clang-Format codeMark Benvenuto2016-05-281-2/+6
|
* SERVER-24104 Replace stdx::duration with mongo::Duration.Andy Schwerin2016-05-171-0/+1
| | | | | | | The mongo::Duration type does overflow checking on casts and arithmetic. This patch also moves DESTRUCTOR_GUARD out of assert_util.h into destructor_guard.h in order to break an include cycle with duration.h.
* SERVER-19247 remove implicit conversion from NamespaceString to std::stringQingyang Chen2015-07-061-1/+1
|
* SERVER-19105 Define macro for registering DocumentSourcesCharlie Swanson2015-06-241-3/+3
|
* SERVER-18579: Clang-Format - reformat code, no comment reflowMark Benvenuto2015-06-201-149/+144
|
* SERVER-18227 Add bypassDocumentValidation option to commands that need itMathias Stearn2015-05-141-5/+4
|
* SERVER-18227 Propagate all options when creating collections based on othersMathias Stearn2015-05-141-3/+12
| | | | | In addition to the primary goal of propagating the validator, this will also propagate things like storage-engine specific options and capped settings.
* SERVER-13256 Remove pch.hAndrew Morrow2015-01-151-3/+0
|
* SERVER-13256 Add usings and qualifications for names from namespace stdAndrew Morrow2015-01-151-0/+1
|
* SERVER-13256 Remove intrusive_ptr from pch.hAndrew Morrow2015-01-051-0/+3
|
* SERVER-13256 Prohibit new uses of pch.hAndrew Morrow2015-01-051-0/+3
|
* SERVER-13635 Remove deprecated getIndexes() methodMathias Stearn2014-09-291-3/+3
| | | | | | It used a direct query against system.indexes which storage engines aren't required to implement. It has been replaced with getIndexSpecs() which uses the new API that will be implemented by all storage engines.
* SERVER-13600 Forbid implicit construction of NamespaceString from StringData.Andy Schwerin2014-04-151-4/+4
|
* SERVER-12586 Don't allow $out to special collectionsMathias Stearn2014-02-121-0/+2
|
* SERVER-12180 Clean up dependency tracking codeMathias Stearn2014-01-211-0/+5
| | | | | | | | | | | | | | | | Behavior changes (none effect semantics of pipeline, just implementation): * We now track what we know about fields and metadata separately. This allows us to prove that we won't need the text score if we see a $group or $out. * If we don't need any fields from the source document we now use a projection that will return an empty document, or just the text score if it is needed. We used to use {_id: 0} which returned all other fields. Code organization changes: * Dependencies are now tracked using a dedicated struct rather than a set<string> with some magic strings. * ParsedDeps is now a proper class rather than a typedef. * Removed ExpressionFieldPath::_baseVar since its former role is fulfilled better by _variable.
* SplittableDocumentSource shouldn't inherit from DocumentSourceMathias Stearn2013-10-211-1/+1
|
* Don't require a pointer to BSONElement in pipeline parsing.Mathias Stearn2013-10-111-4/+4
| | | | Prevents use of rvalues among other annoying issues.
* SERVER-10914 disallow $out to capped collectionsMathias Stearn2013-10-021-0/+5
|
* SERVER-8886 Add OpenSSL exception to files in src/mongo/dbIan Whalen2013-09-061-0/+12
|
* serialize to replace toBson in document sources and pipelinematt dannenberg2013-08-281-2/+2
|
* Fix signed/unsigned comparisonsMathias Stearn2013-08-191-1/+1
|
* Use bulk-insert in $outMathias Stearn2013-08-191-4/+19
| | | | | About 4x faster at simple copy-collection benchmark. Follow-up to SERVER-3253
* Make ExpressionContext a simple structMathias Stearn2013-08-091-2/+2
| | | | | At some point it should probably be renamed since it has nothing to do with Expressions.
* Simplify aggregation DocumentSource APIMathias Stearn2013-08-091-16/+7
|
* Error out if $out collection is shardedMathias Stearn2013-08-081-1/+10
|
* Make DocumentSource handling more genericMathias Stearn2013-08-081-17/+16
|
* ExpressionContext now has the input namespaceMathias Stearn2013-07-261-15/+19
| | | | | This reduces the amount of PipelineD injection and will make sharded $out easier (SERVER-10097).
* SERVER-3253 Unsharded $outMathias Stearn2013-07-261-22/+103
|
* Clean up #includes to conform with coding standardDan Pasette2013-07-241-2/+2
|
* Adjusted file mod's.Alberto Lerner2012-12-181-0/+0
|
* Rewrite Document and Value classesMathias Stearn2012-11-161-1/+1
|
* Convert to unix line endingsMathias Stearn2012-06-291-67/+67
| | | | Sorry about the huge diff, but it is just line-ending changes so you can skip it
* SERVER-4504 aggregation explain implementationU-tellus\cwestin2012-05-211-1/+2
|
* replace assert with verify SERVER-1259Eliot Horowitz2012-03-261-2/+2
|
* checkpoint SERVER-4844U-tellus\cwestin2012-02-141-3/+9
|
* checkpoint dependency tracker for SERVER-4644U-tellus\cwestin2012-02-141-0/+4
|
* fixed emacs to remove tabs from files before writing; removed tabsU-tellus\cwestin2012-01-101-9/+9
|
* bulk move of code to src/ SERVER-4551Eliot Horowitz2011-12-241-0/+56