summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorMax Hirschhorn <max.hirschhorn@mongodb.com>2018-08-27 14:32:27 -0400
committerMax Hirschhorn <max.hirschhorn@mongodb.com>2018-08-27 14:32:27 -0400
commit0eb340d54510584b1d1c927e713a5afe0822feaf (patch)
tree66ec1f8f3f87353bd6feb4a38becb15123ed72ab /etc
parent402fa5cc4a5f74cd7e592d9273a94e7cf25446b6 (diff)
downloadmongo-0eb340d54510584b1d1c927e713a5afe0822feaf.tar.gz
SERVER-36783 Run secondary_reads_passthrough with more memory headroom.
Changes the Enterprise RHEL 6.2 (inMemory) build variant to run the secondary_reads_passthrough task with --jobs=5 on the rhel62-large distro.
Diffstat (limited to 'etc')
-rw-r--r--etc/evergreen.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/etc/evergreen.yml b/etc/evergreen.yml
index ae27c265480..0bb4bcc096d 100644
--- a/etc/evergreen.yml
+++ b/etc/evergreen.yml
@@ -1366,6 +1366,14 @@ functions:
esac
fi
+ # Reduce the number of available jobs by two-thirds when running the
+ # secondary_reads_passthrough task on the Enterprise RHEL 6.2 InMemory build variant.
+ if [[ "${build_variant}" = "enterprise-rhel-62-64-bit-inmem" \
+ && "${task_name}" = "secondary_reads_passthrough" ]]; then
+ num_jobs_available=$((${num_jobs_available|3} / 3))
+ echo "Reducing jobs from ${num_jobs_available|1} to $num_jobs_available"
+ fi
+
if [ ${max_jobs|0} -gt 0 ] && [ ${max_jobs|0} -lt $num_jobs_available ]; then
extra_args="$extra_args --jobs=${max_jobs}"
else
@@ -12775,6 +12783,8 @@ buildvariants:
- name: update_fuzzer_replication
- name: write_concern_majority_passthrough
- name: secondary_reads_passthrough
+ distros:
+ - rhel62-large
- name: enterprise-rhel-62-64-bit-required-inmem
display_name: "! Enterprise RHEL 6.2 (inMemory)"