Skip to content

Ensure the ProcessBookkeepingService runs as a FIFO queue

Micaël Bergeron requested to merge 205178-make-queue-fifo into master

What does this MR do?

This change leverages Redis ZSET NX capabilities making sure not to update the score of an existing entry.

Before this change, any existing job would've been pushed back at the end of the queue whenever it was triggered.

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

Closes #205178

Edited by Micaël Bergeron

Merge request reports