diff options
author | Eddie Louie <eddie.louie@mongodb.com> | 2017-03-23 14:07:50 -0400 |
---|---|---|
committer | Eddie Louie <eddie.louie@mongodb.com> | 2017-03-23 14:07:50 -0400 |
commit | 9fc1ecd711851cccee04fe14caf88db0c6523090 (patch) | |
tree | 9fe1653635dd12da022fff31555ab237af1cc4e0 /jstests/core/autoid.js | |
parent | fb956b3b0a48c9b8376575c6adb971a4e0593292 (diff) | |
download | mongo-9fc1ecd711851cccee04fe14caf88db0c6523090.tar.gz |
SERVER-26315 Override DBCollection.prototype.drop to re-shard collections that are dropped
This reverts commit fb956b3b0a48c9b8376575c6adb971a4e0593292.
Diffstat (limited to 'jstests/core/autoid.js')
-rw-r--r-- | jstests/core/autoid.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/jstests/core/autoid.js b/jstests/core/autoid.js index f4707e5fe65..679b109fcc5 100644 --- a/jstests/core/autoid.js +++ b/jstests/core/autoid.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] + f = db.jstests_autoid; f.drop(); |