summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--jstests/concurrency/fsm_workloads/collection_uuid.js1
-rw-r--r--jstests/concurrency/fsm_workloads/random_moveChunk_update_shard_key.js1
-rw-r--r--jstests/sharding/query/agg_shard_targeting.js8
3 files changed, 8 insertions, 2 deletions
diff --git a/jstests/concurrency/fsm_workloads/collection_uuid.js b/jstests/concurrency/fsm_workloads/collection_uuid.js
index f5367697cf7..5cdfc4eb38f 100644
--- a/jstests/concurrency/fsm_workloads/collection_uuid.js
+++ b/jstests/concurrency/fsm_workloads/collection_uuid.js
@@ -51,6 +51,7 @@ const runCommandInLoop = function(
ErrorCodes.ConflictingOperationInProgress,
ErrorCodes.BackgroundOperationInProgressForNamespace,
ErrorCodes.ReshardCollectionInProgress,
+ // TODO (SERVER-64449): Get rid of this exception
ErrorCodes.OBSOLETE_StaleShardVersion,
ErrorCodes.QueryPlanKilled,
];
diff --git a/jstests/concurrency/fsm_workloads/random_moveChunk_update_shard_key.js b/jstests/concurrency/fsm_workloads/random_moveChunk_update_shard_key.js
index c0156f96c95..ae578af116f 100644
--- a/jstests/concurrency/fsm_workloads/random_moveChunk_update_shard_key.js
+++ b/jstests/concurrency/fsm_workloads/random_moveChunk_update_shard_key.js
@@ -79,6 +79,7 @@ var $config = extendWorkload($config, function($config, $super) {
// filter out those errors.
let skippableErrors = [
ErrorCodes.StaleConfig,
+ // TODO (SERVER-64449): Get rid of this exception
ErrorCodes.OBSOLETE_StaleShardVersion,
ErrorCodes.WriteConflict,
ErrorCodes.LockTimeout,
diff --git a/jstests/sharding/query/agg_shard_targeting.js b/jstests/sharding/query/agg_shard_targeting.js
index 334127150b1..d47131e33c4 100644
--- a/jstests/sharding/query/agg_shard_targeting.js
+++ b/jstests/sharding/query/agg_shard_targeting.js
@@ -86,8 +86,12 @@ assert.commandWorked(mongosColl.insert({_id: -50}));
assert.commandWorked(mongosColl.insert({_id: 50}));
assert.commandWorked(mongosColl.insert({_id: 150}));
-const shardExceptions =
- [ErrorCodes.StaleConfig, ErrorCodes.OBSOLETE_StaleShardVersion, ErrorCodes.StaleEpoch];
+const shardExceptions = [
+ ErrorCodes.StaleConfig,
+ // TODO (SERVER-64449): Get rid of this exception
+ ErrorCodes.OBSOLETE_StaleShardVersion,
+ ErrorCodes.StaleEpoch,
+];
// Create an $_internalSplitPipeline stage that forces the merge to occur on the Primary shard.
const forcePrimaryMerge = [{$_internalSplitPipeline: {mergeType: "primaryShard"}}];