summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvia Surroca <silvia.surroca@mongodb.com>2024-03-25 17:08:08 +0100
committerMongoDB Bot <mongo-bot@mongodb.com>2024-03-25 16:16:27 +0000
commit4c8683d1851b1b0551df5eb1b3561550868eb97d (patch)
treebb214394554fa5e7cc7fa5bdf70e9b2f9c21b9b5
parentd5ec23400f660150518b5ad0eace9b34dbca71b0 (diff)
SERVER-88184 Increase the query yielding period on suites running with the balancer (#20263)r8.0.0-alpha1
GitOrigin-RevId: cf95ad74b20b0b9ceb72cbb239c8e049e337ab1b
-rw-r--r--buildscripts/resmokeconfig/suites/multi_stmt_txn_jscore_passthrough_with_migration.yml5
-rw-r--r--buildscripts/resmokeconfig/suites/sharding_jscore_passthrough_with_balancer.yml5
2 files changed, 10 insertions, 0 deletions
diff --git a/buildscripts/resmokeconfig/suites/multi_stmt_txn_jscore_passthrough_with_migration.yml b/buildscripts/resmokeconfig/suites/multi_stmt_txn_jscore_passthrough_with_migration.yml
index 4b6f287d1dc..e24f6c5bd90 100644
--- a/buildscripts/resmokeconfig/suites/multi_stmt_txn_jscore_passthrough_with_migration.yml
+++ b/buildscripts/resmokeconfig/suites/multi_stmt_txn_jscore_passthrough_with_migration.yml
@@ -356,6 +356,11 @@ executor:
writePeriodicNoops: true
coordinateCommitReturnImmediatelyAfterPersistingDecision: true
skipDroppingHashedShardKeyIndex: true
+ # Increment the query yield period as a best effort to avoid getting a QueryPlanKilled error
+ # when a query and a moveCollection run concurrently (more info on SERVER-88275)
+ # TODO (SERVER-88275) Remove both parameters once this bug is being addressed
+ internalQueryExecYieldPeriodMS: 6000
+ internalQueryExecYieldIterations: 1000000
num_rs_nodes_per_shard: 2
num_shards: 2
enable_balancer: true
diff --git a/buildscripts/resmokeconfig/suites/sharding_jscore_passthrough_with_balancer.yml b/buildscripts/resmokeconfig/suites/sharding_jscore_passthrough_with_balancer.yml
index 2180e2e2430..821b4970d72 100644
--- a/buildscripts/resmokeconfig/suites/sharding_jscore_passthrough_with_balancer.yml
+++ b/buildscripts/resmokeconfig/suites/sharding_jscore_passthrough_with_balancer.yml
@@ -84,6 +84,11 @@ executor:
set_parameters:
enableTestCommands: 1
reshardingMinimumOperationDurationMillis: 0
+ # Increment the query yield period as a best effort to avoid getting a QueryPlanKilled error
+ # when a query and a moveCollection run concurrently (more info on SERVER-88275)
+ # TODO (SERVER-88275) Remove both parameters once this bug is being addressed
+ internalQueryExecYieldPeriodMS: 6000
+ internalQueryExecYieldIterations: 1000000
num_rs_nodes_per_shard: 1
num_shards: 2
enable_balancer: true