Skip to content

Zoekt: Add random force reindexing

Dmitry Gruzd requested to merge zoekt-random-force-reindexing into master

What does this MR do and why?

This is a band-aid solution for Zoekt Indexer creates too many index files (#435765) to buy us more time to properly fix this bug.

This MR forces a full reindex on average once every 200 indexing operations. Sourcegraph sets this limit to 150 to achieve the same result.

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 Madelein van Niekerk

Merge request reports

Loading