Skip to content

Fix data inconsistency issue for old artifacts by moving them to a currently used path

Kamil Trzciński requested to merge migrate-old-artifacts into master

What does this MR do?

It does migrate artifacts to the single unique path and stores that information in the database.

Migrates the data to remove the need of having hotfix (for artifacts): https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/2224.

It makes it possible to remove artifact with:

rm -rf artifacts/year_month/project_id/

The MR for traces will be delivered separately.

This migration has to run on limited data set: about 300-400 artifacts on GitLab.com.

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 https://gitlab.com/gitlab-org/gitlab-ce/issues/32036

Edited by Kamil Trzciński

Merge request reports