summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllison Easton <allison.easton@mongodb.com>2023-04-28 08:06:49 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-06-01 15:03:24 +0000
commit01bcf17a1a035bba0460d9ffff89fdb4d7937702 (patch)
tree9162fad766b650bfb792ce1bfe2a4db5e031c931
parentca4b6a457a2990c1ba74a04e2e20c6ecb6b064d3 (diff)
SERVER-76536 Increase receiveChunkWaitForRangeDeleterTimeoutMS in concurrency suitesr6.3.2-rc0
(cherry picked from commit 2d6dc8100f872fc46a394dddf40e856ac5ec2eca)
-rw-r--r--buildscripts/resmokelib/testing/fixtures/standalone.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/buildscripts/resmokelib/testing/fixtures/standalone.py b/buildscripts/resmokelib/testing/fixtures/standalone.py
index 31eece3668d..070f3b8f739 100644
--- a/buildscripts/resmokelib/testing/fixtures/standalone.py
+++ b/buildscripts/resmokelib/testing/fixtures/standalone.py
@@ -256,6 +256,15 @@ class MongodLauncher(object):
if "shardsvr" in mongod_options and "orphanCleanupDelaySecs" not in suite_set_parameters:
suite_set_parameters["orphanCleanupDelaySecs"] = 1
+ # receiveChunkWaitForRangeDeleterTimeoutMS controls the amount of time an incoming migration
+ # will wait for an intersecting range with data in it to be cleared up before failing. The
+ # default is 10 seconds, but in some slower variants this is not enough time for the range
+ # deleter to finish so we increase it here to 90 seconds. Setting a value for this parameter
+ # in the .yml file overrides this.
+ if (("shardsvr" in mongod_options or "configsvr" in mongod_options)
+ and "receiveChunkWaitForRangeDeleterTimeoutMS" not in suite_set_parameters):
+ suite_set_parameters["receiveChunkWaitForRangeDeleterTimeoutMS"] = 90000
+
# The LogicalSessionCache does automatic background refreshes in the server. This is
# race-y for tests, since tests trigger their own immediate refreshes instead. Turn off
# background refreshing for tests. Set in the .yml file to override this.