summaryrefslogtreecommitdiff
path: root/jstests/core/explain_multi_plan.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/explain_multi_plan.js')
-rw-r--r--jstests/core/explain_multi_plan.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/jstests/core/explain_multi_plan.js b/jstests/core/explain_multi_plan.js
index 693237d9edc..a41a4f0e67b 100644
--- a/jstests/core/explain_multi_plan.js
+++ b/jstests/core/explain_multi_plan.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]
+
/**
* Tests running explain on a variety of explainable commands (find, update, remove, etc.) when
* there are multiple plans available. This is a regression test for SERVER-20849 and SERVER-21376.