Skip to content

Add dry_run parameter to Search::IndexCurator

John Mason requested to merge jm-index-curator-dry-run into master

What does this MR do and why?

As we roll out search index curation across GitLab's elasticsearch indices, we need the ability to do dry runs. This will allow us to monitor the logs and ensure everything is working properly before enabling.

These are related MR's to this process:

  • Add dry run capability: !103959 (merged) 👈
  • Add inclusion parameter to support excluding everything besides specified indices: !103951 (merged)
  • Add feature flags to toggle which indices should be added to inclusion parameter: !104423 (merged)
  • Add an ops feature flag that toggles dry_runparameter in Search::IndexCurationWorker: !104321 (merged)

Screenshots or screen recordings

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

How to set up and validate locally

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

MR acceptance checklist

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

Edited by John Mason

Merge request reports

Loading