Eddie Louie
9fc1ecd711
SERVER-26315 Override DBCollection.prototype.drop to re-shard collections that are dropped
...
This reverts commit fb956b3b0a .
2017-03-23 14:07:50 -04:00
Randolph Tan
fb956b3b0a
Revert "SERVER-26315 Override DBCollection.prototype.drop to re-shard collections that are dropped"
...
This reverts commit 56e66454d1 .
Conflicts:
buildscripts/resmokeconfig/suites/sharded_collections_jscore_passthrough.yml
2017-03-23 13:56:21 -04:00
Nick Zolnierz
dd260b0a3b
SERVER-26113 explain() for aggregation request does not propogate to corresponding 'QueryRequest'
...
Small change to bug fix, and adding explain.js test.
Formatting changes
Missed formatting
Incorporating CR feedback
2017-03-21 18:23:45 -04:00
Charlie Swanson
6b50dfdb11
SERVER-28409 Decrease verbosity during testshard1.js
2017-03-21 17:13:41 -04:00
Eddie Louie
56e66454d1
SERVER-26315 Override DBCollection.prototype.drop to re-shard collections that are dropped
...
in sharded cluster environments.
2017-03-15 19:19:49 -04:00
Charlie Swanson
584ca76de9
SERVER-22541 Manage aggregation cursors on global cursor manager.
...
Moves registration of aggregation cursors to the global cursor manager.
This simplifies the logic for acquiring locks and resolving view
namespaces within the getMore and killCursors commands.
2017-03-15 11:03:44 -04:00
David Storch
2f367a1e6a
SERVER-27614 add $$REMOVE agg system variable
2017-03-13 17:50:16 -04:00
Wan Bachtiar
5b8b1ca636
SERVER-23310 Add aggregation expression $arrayToObject
...
Signed-off-by: Tess Avitabile <tess.avitabile@mongodb.com >
2017-03-07 13:37:21 -05:00
Wan Bachtiar
6a6bffee00
SERVER-18794 Add aggregation pipeline expression $objectToArray
...
Closes #1
Signed-off-by: Tess Avitabile <tess.avitabile@mongodb.com >
2017-03-03 13:48:52 -05:00
Tess Avitabile
92e5992374
SERVER-24623 Remove single document aggregation result option
2017-01-13 17:56:02 -05:00
James Wahlin
4d301a60b6
SERVER-27090 cursor_timeout.js sets cursorTimeoutMillis incorrectly
2016-11-22 08:55:11 -05:00
Charlie Swanson
23681bf8db
SERVER-26742 Increase verbosity during testshard1.js
2016-11-09 11:03:34 -05:00
Marko Vojvodic
c1567abb4a
SERVER-26462 Check if _buffer is allocated in DocumentStorage::clone()
2016-11-04 15:40:04 -04:00
Charlie Swanson
6822a010ac
SERVER-25137 Ensure $graphLookup succeeds on non-existent collections
2016-10-25 10:15:52 -04:00
James Wahlin
c66e3f2242
SERVER-26435 Refactor replsettest.js to reduce size
2016-10-17 12:52:23 -04:00
Charlie Swanson
805b4bdc94
SERVER-26461 Request text score even if no fields are needed.
2016-10-14 11:20:17 -04:00
Robert Guo
32bd5fcc91
SERVER-26503 fix incorrect uses of assert.throws()
2016-10-13 18:07:24 -04:00
Max Hirschhorn
350c0382b1
Revert "SERVER-26503 fix incorrect uses of assert.throws()"
...
This reverts commit 1126f5411b .
2016-10-11 20:55:50 -04:00
Robert Guo
1126f5411b
SERVER-26503 fix incorrect uses of assert.throws()
2016-10-11 16:58:34 -04:00
David Storch
8758a5c7be
SERVER-25038 add LiteParsedPipeline
...
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.
2016-10-03 16:13:51 -04:00
Tess Avitabile
2abb5f41df
SERVER-25430 Create a sharded collections passthrough of aggregation suite
2016-09-30 16:34:23 -04:00
Charlie Swanson
07e0d1ef93
SERVER-25757 Add a $facet passthrough aggregation suite.
2016-09-12 16:55:21 -04:00
Sam Rossi
92aed9bba8
SERVER-24920 fix false positives for Value::integral on non-integral decimal values
2016-09-08 10:54:08 -04:00
David Storch
731632e609
SERVER-25590 fail cleanly if aggregate command 'pipeline' field has wrong type
2016-08-30 22:58:11 -04:00
Max Hirschhorn
98a26b4cff
SERVER-25585 Delete ClientCursors without holding _mutex to avoid hang.
2016-08-19 12:22:57 -04:00
Charlie Swanson
63ab48a951
SERVER-25439 Modernize jstests/aggregation/bugs/server5209.js
2016-08-19 12:08:21 -04:00
Charlie Swanson
7f87288de1
SERVER-25584 Ensure $facet and $bucketAuto run on merging shard.
2016-08-16 14:22:26 -04:00
Charlie Swanson
52cd830b71
SERVER-25473 Inject ExpressionContext before optimizing pipeline.
2016-08-11 18:25:07 -04:00
Carly Robison
5a83f95657
SERVER-5781 addFields stage.
...
This aggregation stage allows the addition of computed fields to a document while preserving all existing fields.
2016-08-11 10:49:43 -04:00
Max Hirschhorn
fad11e0917
SERVER-24769 Add support for $lookup and $graphLookup on a view.
2016-08-10 20:20:19 -04:00
David Storch
d9bb24e5f5
SERVER-25139 make $graphLookup's cache collation-aware
...
Ensures that comparisons made during graph traversal respect
the collation. Deduplication using _id, however, does not
use the collation, in order to ensure that node identity is
preserved.
2016-08-10 16:53:20 -04:00
Max Hirschhorn
089b61b649
SERVER-25139 Add tests to verify that $lookup respects the collation.
2016-08-04 16:07:58 -04:00
Max Hirschhorn
5149b0f8a5
SERVER-25005 Use Pipeline to execute $lookup and $graphLookup.
...
Replaces the usages of DBDirectClient::query() in DocumentSourceLookUp
and DocumentSourceGraphLookUp to instead parse and execute a Pipeline.
Simplifies the registration process of the "inner" plan execution in an
aggregation pipeline. The DocumentSourceCursor class now owns its
PlanExecutor and the PipelineProxyStage class no longer has a
std::weak_ptr to it. The "inner" plan executor is registered with the
CursorManager of the underlying Collection and will receive invalidation
notifications if a catalog operation occurs.
2016-08-04 12:49:28 -04:00
Max Hirschhorn
bb273eadd4
SERVER-25419 Make the dependency of mongos on aggregation explicit.
2016-08-04 09:16:55 -04:00
Carly Robison
dd60225291
SERVER-23313 add replaceRoot aggregation stage
...
replaceRoot promotes a subdocument to the top level
2016-07-29 10:05:35 -04:00
Sally McNichols
39d63ea21d
SERVER-24152 add $bucketAuto aggregation stage
2016-07-26 17:52:36 -04:00
David Storch
b739dc09fe
SERVER-23349 add collation support to $geoNear agg stage
2016-07-26 13:33:26 -07:00
David Storch
a21039e4bf
SERVER-23349 add integration tests for aggregation stages respecting the collation
2016-07-26 11:28:08 -07:00
David Storch
56555dd1f9
SERVER-23349 add a test for aggregation expressions respecting the collation
2016-07-26 08:10:04 -07:00
David Storch
0c8085729e
SERVER-23349 add tests for $group and accumulators using collation
2016-07-21 17:54:48 -04:00
Charlie Swanson
e420c60e6c
SERVER-23073 Reliably detect concurrent changes to $out collection.
...
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.
2016-07-18 18:50:58 -04:00
Charlie Swanson
a8414a21ef
SERVER-25054 Error if aggregation uses text score without text search.
2016-07-14 16:18:39 -04:00
Charlie Swanson
7050c2613b
SERVER-24640 Implement getDependencies for $facet stage.
2016-07-14 16:18:38 -04:00
Geert Bosch
b62dcab903
SERVER-24766 Rename error code 15999 to InvalidPipelineOperator
2016-07-13 13:48:28 -04:00
Benjamin Murphy
45977b4209
SERVER-24714 graphLookup now accepts the restrictSearchWithMatch option.
...
Closes #1098
Signed-off-by: David Storch <david.storch@10gen.com >
2016-07-05 15:16:59 -04:00
Sally McNichols
f3919fcaa8
SERVER-24302 Make "as" option of $filter and $map default to "this"
2016-06-30 14:13:27 -04:00
Charlie Swanson
752eb0f448
SERVER-18966 Add the ability to exclude fields in $project stage
2016-06-24 18:07:36 -04:00
Charlie Swanson
46b4dfbdef
SERVER-23654 Add $facet aggregation stage
2016-06-24 11:51:21 -04:00
Charlie Swanson
20e9b2798d
SERVER-24638 Move command processing from Pipeline to AggregationRequest
2016-06-24 11:51:20 -04:00
Kaloian Manassiev
2477b8c33b
SERVER-22512 Remove unnecessary calls to stopBalancer
2016-06-09 13:13:05 -04:00