summaryrefslogtreecommitdiff
path: root/jstests/aggregation/bugs/server21632.js
diff options
context:
space:
mode:
authorRandolph Tan <randolph@10gen.com>2017-03-23 13:56:21 -0400
committerRandolph Tan <randolph@10gen.com>2017-03-23 13:56:21 -0400
commitfb956b3b0a48c9b8376575c6adb971a4e0593292 (patch)
treeb4cbaad47c1bf1630baa6005e655947e9ec7835f /jstests/aggregation/bugs/server21632.js
parentd65a41a35dd9caaae77ae2808d7954c757d035ad (diff)
downloadmongo-fb956b3b0a48c9b8376575c6adb971a4e0593292.tar.gz
Revert "SERVER-26315 Override DBCollection.prototype.drop to re-shard collections that are dropped"
This reverts commit 56e66454d14e16689331672734ecde7644a41c78. Conflicts: buildscripts/resmokeconfig/suites/sharded_collections_jscore_passthrough.yml
Diffstat (limited to 'jstests/aggregation/bugs/server21632.js')
-rw-r--r--jstests/aggregation/bugs/server21632.js5
1 files changed, 0 insertions, 5 deletions
diff --git a/jstests/aggregation/bugs/server21632.js b/jstests/aggregation/bugs/server21632.js
index 944ca114ab6..c99834c6f73 100644
--- a/jstests/aggregation/bugs/server21632.js
+++ b/jstests/aggregation/bugs/server21632.js
@@ -1,7 +1,3 @@
-// Cannot implicitly shard accessed collections because the coll.stats() output from a mongod when
-// run against a sharded collection is wrapped in a "shards" object with keys for each shard.
-// @tags: [assumes_unsharded_collection]
-
// This test is designed to stress $sample, and any optimizations a storage engine might provide.
//
// A $sample stage as the first stage in a pipeline should ideally have a uniform distribution, so
@@ -30,7 +26,6 @@
// as a supported file type. (See: WT-2403 for details on forthcoming changes)
var storageEngine = jsTest.options().storageEngine || "wiredTiger";
-
if (storageEngine == "wiredTiger" && coll.stats().wiredTiger.type == 'lsm') {
return;
}