summaryrefslogtreecommitdiff
path: root/changelogs
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2019-03-31 22:00:19 -0700
committerStan Hu <stanhu@gmail.com>2019-03-31 22:14:19 -0700
commit8686e01250824e475dc9412c399c44100878a71e (patch)
treed64e4bb83c18177a5c97eb19d2483ccd1c024c8e /changelogs
parentafbc827465e6fc0e4eec1308e34637bcd317eb52 (diff)
downloadgitlab-ce-8686e01250824e475dc9412c399c44100878a71e.tar.gz
Avoid excessive recursive calls with Rugged TreeEntriessh-fix-rugged-tree-entries
The Rugged implementation was recursively scanning the repository to create `flat_path` because the post-process step was being called from with a loop. For large repositories, this was significantly slowing things down. Break the call to `rugged_populate_flat_path` out of this loop to make this work efficiently. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/59759
Diffstat (limited to 'changelogs')
-rw-r--r--changelogs/unreleased/sh-fix-rugged-tree-entries.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/changelogs/unreleased/sh-fix-rugged-tree-entries.yml b/changelogs/unreleased/sh-fix-rugged-tree-entries.yml
new file mode 100644
index 00000000000..97b27678905
--- /dev/null
+++ b/changelogs/unreleased/sh-fix-rugged-tree-entries.yml
@@ -0,0 +1,5 @@
+---
+title: Avoid excessive recursive calls with Rugged TreeEntries
+merge_request: 26813
+author:
+type: fixed