Skip to content

Ensure CleanupOptimisticLockingNulls uses BETWEEN

Mario de la Ossa requested to merge optimistic_locking_null_patch into master

What does this MR do?

A problem with !18418 (merged) was found (discussion in gitlab-com/gl-infra/production#1699 (comment 296062142)) because the CleanupOptimisticLockingNulls background migration is accidentally using large arrays for the generated SQL instead of a clean "BETWEEN" statement.

This MR fixes that

Screenshots

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