diff options
Diffstat (limited to 'jstests/core/index_stats.js')
-rw-r--r-- | jstests/core/index_stats.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/jstests/core/index_stats.js b/jstests/core/index_stats.js index 7db4559210c..508c8d25183 100644 --- a/jstests/core/index_stats.js +++ b/jstests/core/index_stats.js @@ -1,3 +1,10 @@ +// @tags: [ +// # This test attempts to perform write operations and get index usage statistics using the +// # $indexStats stage. The former operation must be routed to the primary in a replica set, +// # whereas the latter may be routed to a secondary. +// assumes_read_preference_unchanged, +// ] + (function() { "use strict"; |