It adds a new Keep to change worker data consistency
requested to merge 495028-housekeeper-keep-to-change-workers-data-consistency-from-always-to-sticky into master
What does this MR do and why?
It adds a new Keep to change worker data consistency
It adds a new Housekeeper Keep to update workers data consistency from always to sticky. These changes aim to help with database resource saturation.
Example MRs
How to set up and validate locally
- Dry Run
Run bundle exec gitlab-housekeeper -k Keeps::UpdateWorkersDataConsistency -d -m 3
and check the output.
- Using a fork
- Create a new GitLab fork.
- Create a new PAT https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html
- Run:
HOUSEKEEPER_TARGET_PROJECT_ID=<fork ID> HOUSEKEEPER_GITLAB_API_TOKEN=<PAT> bundle exec gitlab-housekeeper -k Keeps::UpdateWorkersDataConsistency -m 3
Related to #495028 (closed)
Edited by Leonardo da Rosa