summaryrefslogtreecommitdiff
path: root/jstests/core/coveredIndex1.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/coveredIndex1.js')
-rw-r--r--jstests/core/coveredIndex1.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/jstests/core/coveredIndex1.js b/jstests/core/coveredIndex1.js
index 328c53ba0bc..1e982f0a8ea 100644
--- a/jstests/core/coveredIndex1.js
+++ b/jstests/core/coveredIndex1.js
@@ -1,3 +1,7 @@
+// Cannot implicitly shard accessed collections because queries on a sharded collection are not
+// able to be covered when they aren't on the shard key since the document needs to be fetched in
+// order to apply the SHARDING_FILTER stage.
+// @tags: [assumes_unsharded_collection]
t = db["jstests_coveredIndex1"];
t.drop();