diff options
author | Max Hirschhorn <max.hirschhorn@mongodb.com> | 2018-10-25 01:00:35 -0400 |
---|---|---|
committer | Max Hirschhorn <max.hirschhorn@mongodb.com> | 2018-10-25 01:00:35 -0400 |
commit | 365ae29ee335257398159f1b9f1f9767198fe607 (patch) | |
tree | 23caa84c19e42cfc5f416646cfc5ef02986c5962 | |
parent | c23ef8117d14b50d560202c7d0c4ed0c8cb9948d (diff) | |
download | mongo-365ae29ee335257398159f1b9f1f9767198fe607.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.
(cherry picked from commit 0eb340d54510584b1d1c927e713a5afe0822feaf)
-rw-r--r-- | etc/evergreen.yml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/etc/evergreen.yml b/etc/evergreen.yml index aae3c943900..506ed052746 100644 --- a/etc/evergreen.yml +++ b/etc/evergreen.yml @@ -655,6 +655,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 @@ -9529,6 +9537,8 @@ buildvariants: - name: sslSpecial - name: tool - name: secondary_reads_passthrough + distros: + - rhel62-large - name: update_fuzzer_WT - name: update_fuzzer_replication_WT - name: write_concern_majority_passthrough_WT |