summaryrefslogtreecommitdiff
path: root/changelogs
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2019-07-06 00:58:13 -0700
committerStan Hu <stanhu@gmail.com>2019-07-06 01:07:49 -0700
commita28844ea5683d6ae7ae7e37065feee9baa59aeaf (patch)
tree3adeaf09fbef16a1296bd522ced0b0a467844ba2 /changelogs
parent6e9f882007a18d594b4a53e417a87fdeec3bc29f (diff)
downloadgitlab-ce-a28844ea5683d6ae7ae7e37065feee9baa59aeaf.tar.gz
Prevent amplification of ReactiveCachingWorker jobs upon failuressh-disable-reactive-caching-automatic-retries
When `ReactiveCachingWorker` hits an SSL or other exception that occurs quickly and reliably, automatically rescheduling a new worker could lead to excessive number of jobs being scheduled. This happens because not only does the failed job get rescheduled in a minute, but each Sidekiq retry will also add even more rescheduled jobs. In busy instances, this can become an issue because large numbers of `ReactiveCachingWorker` running can cause high rates of `ExclusiveLease` reads to occur and possibly saturate the Redis server with queries. We now disable this automatic retry and rely on Sidekiq to perform its 3 retries with a backoff period. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/64176
Diffstat (limited to 'changelogs')
-rw-r--r--changelogs/unreleased/sh-disable-reactive-caching-automatic-retries.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/changelogs/unreleased/sh-disable-reactive-caching-automatic-retries.yml b/changelogs/unreleased/sh-disable-reactive-caching-automatic-retries.yml
new file mode 100644
index 00000000000..a0db68adb78
--- /dev/null
+++ b/changelogs/unreleased/sh-disable-reactive-caching-automatic-retries.yml
@@ -0,0 +1,5 @@
+---
+title: Prevent amplification of ReactiveCachingWorker jobs upon failures
+merge_request: 30432
+author:
+type: performance