Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2019-06-26 00:47:17 +0300
committerStan Hu <stanhu@gmail.com>2019-06-26 01:49:28 +0300
commit919aea521936c088bff986a1428634e4688d7ed2 (patch)
tree62a1b1fb97cd9670a045c73a48efdcf1ce1cb205 /changelogs
parent1a9fd38a4cadf86397c033d91e38ca3cc6a388f6 (diff)
Disable Rails SQL query cache when applying service templates
When the SQL query cache is active, the SELECT query for finding projects to apply service templates returns the same values. This causes an infinite loop because even though bulk INSERT queries are made, the cached results never reflect that progress. To fix this, we call `Project.uncached` around the query to ensure new data is retrieved. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/63595
Diffstat (limited to 'changelogs')
-rw-r--r--changelogs/unreleased/security-fix-issue-59379-12-0.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/changelogs/unreleased/security-fix-issue-59379-12-0.yml b/changelogs/unreleased/security-fix-issue-59379-12-0.yml
new file mode 100644
index 00000000000..a6c3ce14dce
--- /dev/null
+++ b/changelogs/unreleased/security-fix-issue-59379-12-0.yml
@@ -0,0 +1,5 @@
+---
+title: Disable Rails SQL query cache when applying service templates
+merge_request:
+author:
+type: security