diff options
author | Thong Kuah <tkuah@gitlab.com> | 2019-07-01 11:24:20 +0300 |
---|---|---|
committer | Thong Kuah <tkuah@gitlab.com> | 2019-07-08 00:13:21 +0300 |
commit | 1668f40f430c656ed9c20898605db21a66cb5937 (patch) | |
tree | d26ae7edb98df825116cd767dd1f85f2c5a452a6 /changelogs | |
parent | 72339077f7d79eeb9d0612c55236aa4aa6da4084 (diff) |
Remove fallback to project.deployment_platform
This improves query performance of
MergeRequestsController#ci_environments_status a lot.
However this means old deployments that deployed to kubernetes clusters
with prometheus installations will no longer show performance metrics as
we cannot backfill cluster_id from deployment_platform with certainty
(clusters may be edited/added/deleted, which changes the results of
deployment_platform).
Diffstat (limited to 'changelogs')
-rw-r--r-- | changelogs/unreleased/63475-fix-n-1.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/changelogs/unreleased/63475-fix-n-1.yml b/changelogs/unreleased/63475-fix-n-1.yml new file mode 100644 index 00000000000..3ed825290fd --- /dev/null +++ b/changelogs/unreleased/63475-fix-n-1.yml @@ -0,0 +1,5 @@ +--- +title: Improve performance of MergeRequestsController#ci_environment_status endpoint +merge_request: 30224 +author: +type: performance |