Skip to content

Remove the ENV UPDATE_INDEX

What does this MR do and why?

Removed the ENV UPDATE_INDEX. Currently, to reindex all projects, we have to pass the UPDATE_INDEX as true. This MR will remove this ENV and by default, if we run the task gitlab:elastic:index it will reindex all the projects.

How to set up and validate locally

  1. Run the rake task
    gitlab:elastic:index
  2. You should see the console output has something like this
Enqueuing projects…. ✔ (19)

The number in the parenthesis should be equal to the number of project count in your local DB

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #383519 (closed)

Edited by Ravi Kumar

Merge request reports

Loading