Commit 3e1e6656 authored by Changzheng Liu's avatar Changzheng Liu Committed by Robert Speicher

Fix broken rake task test:index_size

parent 2c0cdc7f
---
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