diff options
Diffstat (limited to 'jstests/core/covered_index_compound_1.js')
-rw-r--r-- | jstests/core/covered_index_compound_1.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/jstests/core/covered_index_compound_1.js b/jstests/core/covered_index_compound_1.js index 45f17fd7d44..ba2c9b6ecc5 100644 --- a/jstests/core/covered_index_compound_1.js +++ b/jstests/core/covered_index_compound_1.js @@ -1,3 +1,8 @@ +// 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] + // Compound index covered query tests // Include helpers for analyzing explain output. |