summaryrefslogtreecommitdiff
path: root/jstests/aggregation/bugs/server6192_server6193.js
diff options
context:
space:
mode:
authorEddie Louie <eddie.louie@mongodb.com>2017-03-13 15:35:40 -0400
committerEddie Louie <eddie.louie@mongodb.com>2017-03-15 19:19:49 -0400
commit56e66454d14e16689331672734ecde7644a41c78 (patch)
treeab19e76bf4ee8e2d85b42e21d047535441b8bb6b /jstests/aggregation/bugs/server6192_server6193.js
parent9911c1a17c7ea34be64b3869867dc26c4b0942d6 (diff)
downloadmongo-56e66454d14e16689331672734ecde7644a41c78.tar.gz
SERVER-26315 Override DBCollection.prototype.drop to re-shard collections that are dropped
in sharded cluster environments.
Diffstat (limited to 'jstests/aggregation/bugs/server6192_server6193.js')
-rw-r--r--jstests/aggregation/bugs/server6192_server6193.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/jstests/aggregation/bugs/server6192_server6193.js b/jstests/aggregation/bugs/server6192_server6193.js
index 8a3a5eb04ee..9b74bdb3b4d 100644
--- a/jstests/aggregation/bugs/server6192_server6193.js
+++ b/jstests/aggregation/bugs/server6192_server6193.js
@@ -1,9 +1,12 @@
// test short-circuiting of $and and $or in
// $project stages to a $const boolean
//
+// Cannot implicitly shard accessed collections because the explain output from a mongod when run
+// against a sharded collection is wrapped in a "shards" object with keys for each shard.
+//
// This test makes assumptions about how the explain output will be formatted, so cannot be
// transformed to be put inside a $facet stage.
-// @tags: [do_not_wrap_aggregations_in_facets]
+// @tags: [do_not_wrap_aggregations_in_facets,assumes_unsharded_collection]
var t = db.jstests_aggregation_server6192;
t.drop();