diff options
Diffstat (limited to 'jstests/core/covered_index_sort_1.js')
-rw-r--r-- | jstests/core/covered_index_sort_1.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/jstests/core/covered_index_sort_1.js b/jstests/core/covered_index_sort_1.js index a5984a34f19..a65cc415ea4 100644 --- a/jstests/core/covered_index_sort_1.js +++ b/jstests/core/covered_index_sort_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] + // Simple covered index query test with sort // Include helpers for analyzing explain output. |