gitlab-org--gitlab-foss/changelogs/unreleased/sh-service-template-bug.yml
Stan Hu d4c87d4dd7 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
2019-06-25 15:06:38 -07:00

5 lines
114 B
YAML

---
title: Disable Rails SQL query cache when applying service templates
merge_request: 30060
author:
type: fixed