Commit 1db3e278 authored by Valery Sizov's avatar Valery Sizov

Elasticsearch: fix partial blob indexing on push

parent 28301fe1
......@@ -4,6 +4,9 @@ v 8.5.0 (unreleased)
- Show warning when mirror repository default branch could not be updated because it has diverged from upstream.
- More reliable wiki indexer
v 8.4.3
- Elasticsearch: fix partial blob indexing on push
v 8.4.2
- Elasticsearch indexer performance improvements
- Don't redirect away from Mirror Repository settings when repo is empty
......
......@@ -67,7 +67,7 @@ class GitPushService
if Gitlab.config.elasticsearch.enabled
project.repository.index_commits(from_rev: oldrev, to_rev: newrev)
project.repository.index_blobs(from_rev: oldrev, to_rev: oldrev)
project.repository.index_blobs(from_rev: oldrev, to_rev: newrev)
end
CreateCommitBuildsService.new.execute(project, @user, @push_data, mirror_update: mirror_update)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment