Skip to content

Retried in database

Kamil Trzcińśki requested to merge retried-in-database-mysql into master

What does this MR do?

This stores latest in the database. We update in transaction information about whether the build is latest. We don't need an index on that column, as we aim for 99% builds to be latest (retry is usually an exception).

This greatly simplifies and fastens a lot of SQL queries and job-stage-related views.

Supersedes https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/10721 as we also need to run MySQL tests.

Are there points in the code the reviewer needs to double check?

Why was this MR needed?

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #25737 (closed)

Merge request reports