Skip to content

Make batch size configurable in ES reindex task

Dylan Griffith requested to merge configurable-reindex-size into master

What does this MR do?

We learnt in gitlab-com/gl-infra/production#1862 (comment 314402159) that this tweaking this setting is quite important in order to speed up reindexing.

We also learnt that reindexing will go faster by setting durability to async while the initial indexing is happening so we change this setting as well.

Screenshots

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Merge request reports