Commit 8b9c0504 authored by Robert Speicher's avatar Robert Speicher

Merge branch '267563-rake-index-size-fix' into 'master'

Fix broken rake task test:index_size

See merge request gitlab-org/gitlab!45960
parents ccddfa59 3e1e6656
---
title: Fix broken rake task test:index_size
merge_request: 45960
author:
type: fixed
......@@ -4,7 +4,7 @@ namespace :gitlab do
desc 'GitLab | Elasticsearch | Test | Measure space taken by ES indices'
task index_size: :environment do
puts "===== Size stats for index: #{Project.__elasticsearch__.index_name} ====="
pp Gitlab::Elastic::Helper.index_size(::Elastic::MultiVersionUtil::TARGET_VERSION).slice(*%w(docs store))
pp Gitlab::Elastic::Helper.default.index_size.slice(*%w(docs store))
end
desc 'GitLab | Elasticsearch | Test | Measure space taken by ES indices, reindex, and measure space taken again'
......
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