Skip to content

Create a new work items index

Siddharth Dungarwal requested to merge 454046-add-work-items-index into master

What does this MR do and why?

We are adding a new work items index to index the WorkItem records in elasticsearch

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Make sure you have advanced search enabled.
  2. From the terminal run bin/rails gitlab:elastic:index
  3. Then from the rails console run ::Elastic::ProcessBookkeepingService.track!(*WorkItem.all)
  4. Notice in the elasticsearch you will see the new index with alias gitlab-development-work_items and it will have some newly indexed docs

Related to #454046

Edited by Siddharth Dungarwal

Merge request reports