This also adds tunable parameters 'maxIndexBuildDrainBatchSize' and
'maxIndexBuildDrainMemoryUsageMegabytes' which control resource usage
during the hyrid index build drain phase.
When ReplSetTest.stopSet() kills the primary with SIGTERM, it must wait for the
primary to finish election handoff or, in cases where there is no candidate,
for the 10-second election handoff timeout to expire. Add a parameter and use
it in ReplSetTest.stopSet() to end tests quickly.
Disable waitForStepDownOnNonCommandShutdown for replica sets started directly
by resmoke.py so those sets shutdown quickly, too.
* Changes resmoke.py to propagate --storageEngineCacheSizeGB as
--inMemorySizeGB when running with the InMemory storage engine.
* Changes the mongo shell to propagate
TestData.storageEngineCacheSizeGB as --inMemorySizeGB when running
with the InMemory storage engine.
* Sets --storageEngineCacheSizeGB=4 when running with the InMemory
storage engine in Evergreen.
This patch creates separate 'logComponentVerbosity' default settings
for tests running running locally versus those running in
Evergreen. This only applies to tests run using resmoke.py. We detect
that a test is running in Evergreen by checking if resmoke received
an EVERGREEN_TASK_ID parameter.
This patch changes the format of the TestData.setParameters variable we
pass to the mongo shell from within resmoke. We now pass this value as a
JavaScript object, where keys are parameter names and values are the
values to set for that parameter. Additionally, we also consolidate the
hard-coded 'logComponentVerbosity' default settings into resmoke, instead of
having them mixed between servers.js and resmoke's programs.py. Now, any
mongod processes started either directly by resmoke or via a mongo shell
that was started by resmoke will receive default log verbosity settings
from a value defined in resmoke.
When deleting the donor range after migrating a chunk off of a shard,
the range deleter will schedule the deletion at some time in the future,
according to a server parameter orphanCleanupDelaySecs, which defaults
to 900, or 15 minutes. It does not delay range deletions preparatory to
migrating a range in, and does not put off deleting the donor range if
the moveChunk command has set the option _waitForDelete.
The file jstests/sharding/write_commands_sharding_state.js had CR (0x0D)
line endings, which made the patch fail lint. The substantive changes
in the file were to add "_waitForDelete" options to the moveChunk
commands.
Forwards the value for resmoke.py's --numClientsPerFixture command line
option to the mongo shell running the test. This enables the fuzzer to
know if there are concurrent clients running the test.