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/mr_errorhandling.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'jstests/core/mr_errorhandling.js') diff --git a/jstests/core/mr_errorhandling.js b/jstests/core/mr_errorhandling.js index d3fcdc3dcac..8da061459d2 100644 --- a/jstests/core/mr_errorhandling.js +++ b/jstests/core/mr_errorhandling.js @@ -1,3 +1,6 @@ +// Cannot implicitly shard accessed collections because of collection existing when none +// expected. +// @tags: [assumes_no_implicit_collection_creation_after_drop] t = db.mr_errorhandling; t.drop(); -- cgit v1.2.1