Skip to content

Fix update-older-statuses query

Furkan Ayhan requested to merge 321631-fix-wrong-query into master

What does this MR do?

This MR fixes the query in CommitStatus#update_older_statuses_retried!.

We had an incident while rolling out the feature flag (#321631 (closed)), and realized that this query is wrong and not performant.

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