Skip to content

Add force flag to zoekt

Dmitry Gruzd requested to merge zoekt-add-force-true into master

What does this MR do and why?

This MR adds an optional force option to Zoekt::IndexerWorker. It's backwards compatible with older indexers if we do not set this flag. The flag was added it to the indexer's API in Add force option to the index API (gitlab-zoekt-indexer!84 - merged)

The idea behind it so that we can perform reindexing CRs like gitlab-com/gl-infra/production#17105 (closed) with a lot less downtime for the customers.

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.

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 Dmitry Gruzd

Merge request reports