Skip to content

Resolve "Disable the experimental GitLab elasticsearch indexer checkbox if it's not in $PATH"

What does this MR do?

Disables the "Experimental elasticsearch indexer" checkbox in the UI if the gitlab-elasticsearch-indexer binary isn't in $PATH, and falls back to the traditional Ruby indexer if it isn't present.

This will improve the user experience for people who install from source, or in case omnibus-gitlab#2168 (closed) is missed.

Are there points in the code the reviewer needs to double check?

Why was this MR needed?

Screenshots (if relevant)

Uninstalled: Screen_Shot_2017-04-12_at_17.11.05

Installed: Screen_Shot_2017-04-12_at_17.11.37

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #2149 (closed)

Merge request reports