diff options
author | Rémy Coutable <remy@rymai.me> | 2017-11-08 19:04:15 +0300 |
---|---|---|
committer | Winnie Hellmann <winnie@gitlab.com> | 2017-11-10 01:13:33 +0300 |
commit | ac5815dc3b34ec1de3e91dfdb7828ee1877484ad (patch) | |
tree | dd9da0f599dd7a9b96097af281ef39c116e6e572 /changelogs | |
parent | e438e5c593d46154216550825d261a9173641f36 (diff) |
Merge branch 'dm-notes-for-commit-id' into 'master'
Use Commit#notes and Note.for_commit_id when possible to make sure we use all indexes available to us
Closes #34509
See merge request gitlab-org/gitlab-ce!15253
(cherry picked from commit bf13746fd8c7af1ef2e28e8a5a46cf0229b31eb8)
Diffstat (limited to 'changelogs')
-rw-r--r-- | changelogs/unreleased/dm-notes-for-commit-id.yml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/changelogs/unreleased/dm-notes-for-commit-id.yml b/changelogs/unreleased/dm-notes-for-commit-id.yml new file mode 100644 index 00000000000..5b83332d82f --- /dev/null +++ b/changelogs/unreleased/dm-notes-for-commit-id.yml @@ -0,0 +1,6 @@ +--- +title: Improve performance of commits list by fully using DB index when getting commit + note counts +merge_request: +author: +type: performance |