Skip to content

Ensure min lease timeout for batched migrations

Patrick Bair requested to merge 326840-set-migration-minimum-lease-timeout into master

What does this MR do?

Related to #326840 (closed)

Increase the timeout when acquiring an ExclusiveLease to run a batched background migration, and also sets a minimum lease timeout that will always be applied, even when running jobs with a short scheduling interval.

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
Edited by Patrick Bair

Merge request reports

Loading