summaryrefslogtreecommitdiff
path: root/jstests/sharding/safe_secondary_reads_single_migration_suspend_range_deletion.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/sharding/safe_secondary_reads_single_migration_suspend_range_deletion.js')
-rw-r--r--jstests/sharding/safe_secondary_reads_single_migration_suspend_range_deletion.js14
1 files changed, 0 insertions, 14 deletions
diff --git a/jstests/sharding/safe_secondary_reads_single_migration_suspend_range_deletion.js b/jstests/sharding/safe_secondary_reads_single_migration_suspend_range_deletion.js
index cef8487c207..0859b10e41a 100644
--- a/jstests/sharding/safe_secondary_reads_single_migration_suspend_range_deletion.js
+++ b/jstests/sharding/safe_secondary_reads_single_migration_suspend_range_deletion.js
@@ -554,20 +554,6 @@ for (let command of commands) {
});
// Check that the recipient shard secondary received the request with local read concern
- // and also returned stale shardVersion once, even though the mongos is fresh, because
- // the secondary was stale.
- profilerHasSingleMatchingEntryOrThrow({
- profileDB: recipientShardSecondary.getDB(db),
- filter: Object.extend({
- "command.shardVersion": {"$exists": true},
- "command.$readPreference": {"mode": "secondary"},
- "command.readConcern": {"level": "local"},
- "errCode": ErrorCodes.StaleConfig
- },
- commandProfile)
- });
-
- // Check that the recipient shard secondary received the request with local read concern
// again and finally returned success.
profilerHasSingleMatchingEntryOrThrow({
profileDB: recipientShardSecondary.getDB(db),