Commit 7cd9b800 authored by Valery Sizov's avatar Valery Sizov

Merge branch '1618-index-status-uses-delete-all' into 'master'

Use delete_all in the gitlab:elastic:clear_index_status rake task

See merge request !1143
parents 5ffbae56 2b7e11eb
...@@ -100,7 +100,7 @@ namespace :gitlab do ...@@ -100,7 +100,7 @@ namespace :gitlab do
desc "GitLab | Elasticsearch | Clear indexing status" desc "GitLab | Elasticsearch | Clear indexing status"
task clear_index_status: :environment do task clear_index_status: :environment do
IndexStatus.destroy_all IndexStatus.delete_all
puts "Index status has been reset".color(:green) puts "Index status has been reset".color(:green)
end end
......
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