diff options
-rw-r--r-- | jstests/replsets/awaitdata_getmore_new_last_committed_optime.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/jstests/replsets/awaitdata_getmore_new_last_committed_optime.js b/jstests/replsets/awaitdata_getmore_new_last_committed_optime.js index 45d84e25d3f..a9d729d683d 100644 --- a/jstests/replsets/awaitdata_getmore_new_last_committed_optime.js +++ b/jstests/replsets/awaitdata_getmore_new_last_committed_optime.js @@ -4,7 +4,11 @@ // client's lastKnownCommittedOpTime is behind the node's lastCommittedOpTime, getMore returns early // with an empty batch. // -// @tags: [requires_fcv_44] +// The test runs a secondary read (getMore) that is blocked on a failpoint while waiting for +// replication. If the storage engine supports snapshot reads, secondary reads do not acquire PBWM +// locks. So in order to not block secondary oplog application while the secondary read is blocked +// on a failpoint, we only run this test with storage engine that supports snapshot read. +// @tags: [requires_fcv_44, requires_snapshot_read] (function() { 'use strict'; |