summaryrefslogtreecommitdiff
path: root/jstests/core/inc-SERVER-7446.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/core/inc-SERVER-7446.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/core/inc-SERVER-7446.js')
-rw-r--r--jstests/core/inc-SERVER-7446.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/jstests/core/inc-SERVER-7446.js b/jstests/core/inc-SERVER-7446.js
index 2503df21f87..b1d5aa158d0 100644
--- a/jstests/core/inc-SERVER-7446.js
+++ b/jstests/core/inc-SERVER-7446.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]
+
var c = db.incSERVER7446;
// A 32 bit overflow spills to 64 bits