[go: up one dir, main page]

feat: Enable automatic DB reindexing in CNG installations

What does this MR do?

feat: Enable automatic DB reindexing in CNG installations

Related to gitlab-com/gl-infra/delivery#21668

Automatic database reindexing is possible in Omnibus installation by flipping some configuration values inside the gitlab.rb file. As far as I can tell, Helm chart installations that use CNG (Cloud Native GitLab) container images do not have a native method for runnig reindexing periodically.

The Toolbox chart already has a CronJob for taking a backup. So, I am proposing that we add a CronJob that will perform automatic database reindexing on a user-specified schedule: gitlab-org/charts/gitlab!4665

Checklist

See Definition of done.

For anything in this list which will not be completed, please provide a reason in the MR discussion

Required

  • Merge Request Title, and Description are up to date, accurate, and descriptive
  • MR targeting the appropriate branch
  • MR has a green pipeline on GitLab.com
  • When ready for review, MR is labeled "~workflow::ready for review" per the Distribution MR workflow

Expected (please provide an explanation if not completing)

  • Test plan indicating conditions for success has been posted and passes
  • Documentation created/updated
  • Integration tests added to GitLab QA
  • The impact any change in container size has should be evaluated
  • New dependencies are managed with GitLab forked renovatebot
Edited by Clemens Beck

Merge request reports

Loading