Skip to content

Reduce redis calls in orphan clean up task

Erick Bajao requested to merge eb-improve-clean-up-rake-task-redis-call into master

What does this MR do and why?

This is related to https://gitlab.com/gitlab-com/gl-infra/production/-/issues/17579#note_1784238524.

This is to improve performance of the rake task that lists orphan artifact objects. We want to reduce the amount of redis calls done in each batch so instead of individual hexists? calls, we would do a single hmget call per batch.

Merge request reports