From 56e66454d14e16689331672734ecde7644a41c78 Mon Sep 17 00:00:00 2001 From: Eddie Louie Date: Mon, 13 Mar 2017 15:35:40 -0400 Subject: SERVER-26315 Override DBCollection.prototype.drop to re-shard collections that are dropped in sharded cluster environments. --- jstests/core/pull.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'jstests/core/pull.js') diff --git a/jstests/core/pull.js b/jstests/core/pull.js index d2d03e85144..612c65f9e65 100644 --- a/jstests/core/pull.js +++ b/jstests/core/pull.js @@ -1,3 +1,8 @@ +// Cannot implicitly shard accessed collections because of following errmsg: A single +// update/delete on a sharded collection must contain an exact match on _id or contain the shard +// key. +// @tags: [assumes_unsharded_collection] + t = db.jstests_pull; t.drop(); -- cgit v1.2.1