Merge branch 'slowdown_hunting' into 'master'

More changes to reduce a-rex slowdown. Fixes BUGZ-4020.

See merge request !1217
12 jobs for master in 114 minutes and 16 seconds (queued for 6 seconds)
Status Job ID Name Coverage
  Packages
passed packages_deb10 #35580
build

01:39:33

passed packages_deb9 #35579
build

01:08:08

passed packages_el6 #35576
build

01:09:30

passed packages_el7 #35577
build

01:12:46

passed packages_el8 #35578
build

01:32:30

passed packages_ubuntu1804 #35581
build

01:10:29

 
  Deploy And Test
passed deploy_staging_deb10 #35586
deploy 158.39.201.179

00:07:05

passed deploy_staging_deb9 #35585
deploy 158.37.63.83

00:07:08

passed deploy_staging_el6 #35582
deploy 158.39.74.3

00:06:38

passed deploy_staging_el7 #35583
deploy 158.39.75.5

00:08:33

passed deploy_staging_el8 #35584
deploy 158.39.201.67

00:06:50

passed deploy_staging_ubuntu1804 #35587
deploy 158.39.74.3

00:08:01