Skip to content

Add zoekt setting to control rollout batch size

What does this MR do and why?

Duo Summary:

This merge request introduces a new configuration option for Zoekt, a code search tool, called "zoekt_rollout_batch_size". This setting allows administrators to control the number of namespaces processed in each batch during the initial indexing process. The default value is set to 32, but it can be adjusted through the application settings interface. The change includes updates to the application settings model, helper methods, and associated tests to support this new feature. Additionally, the Zoekt rollout worker now uses this setting when executing the rollout process, potentially allowing for better control over resource usage during large-scale indexing operations.

References

Please include cross links to any resources that are relevant to this MR. This will give reviewers and future readers helpful context to give an efficient review of the changes introduced.

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.

Merge request reports

Loading