summaryrefslogtreecommitdiff
path: root/jstests/sharding/secondary_shard_version_protocol_with_causal_consistency.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/sharding/secondary_shard_version_protocol_with_causal_consistency.js')
-rw-r--r--jstests/sharding/secondary_shard_version_protocol_with_causal_consistency.js15
1 files changed, 0 insertions, 15 deletions
diff --git a/jstests/sharding/secondary_shard_version_protocol_with_causal_consistency.js b/jstests/sharding/secondary_shard_version_protocol_with_causal_consistency.js
index f6389079c81..59cb577849e 100644
--- a/jstests/sharding/secondary_shard_version_protocol_with_causal_consistency.js
+++ b/jstests/sharding/secondary_shard_version_protocol_with_causal_consistency.js
@@ -81,21 +81,6 @@ profilerHasSingleMatchingEntryOrThrow({
}
});
-// The recipient shard will then return a stale shard version error because it needs to refresh
-// its own routing table.
-profilerHasSingleMatchingEntryOrThrow({
- profileDB: recipientShardSecondary.getDB(dbName),
- filter: {
- "ns": ns,
- "command.count": collName,
- "command.query": {x: 1},
- "command.shardVersion": {"$exists": true},
- "command.$readPreference": {"mode": "secondary"},
- "command.readConcern.afterClusterTime": {"$exists": true},
- "errCode": ErrorCodes.StaleConfig
- }
-});
-
// Finally, the command is retried on the recipient shard and succeeds.
profilerHasSingleMatchingEntryOrThrow({
profileDB: recipientShardSecondary.getDB(dbName),