Elasticsearch Rake task gitlab:elastic:index won't work as designed
Small issue I've noticed when setting up Elasticsearch that one of the rake tasks sudo gitlab-rake gitlab:elastic:index won't work as designed.
This is a composite task that does the following individual tasks together - gitlab:elastic:create_empty_index, gitlab:elastic:clear_index_status, gitlab:elastic:index_projects, and gitlab:elastic:index_snippets. This won't work as it currently stands though due to the elasticsearch_indexing setting needing to be configured to true for index_projects to work and the setting can't be set true until create_empty_index is run.
Edited by Grant Young