Skip to content

Add cleanup migration for JobWaiter Redis keys

Jacob Vosmaer requested to merge jv-cleanup-job-waiter into master

What does this MR do?

As part of gitlab-com/gl-infra/scalability#2 (closed), this MR adds a post-deployment migration that sets TTL's for any stale JobWaiter keys in Redis. Prior to !43320 (merged) we would sometimes leak keys after a timeout.

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