Skip to content

Fix file_store for artifacts and lfs when saving

Kamil Trzciński requested to merge make-job-lfs-artifacts-read-only into master

What does this MR do?

This makes file_store to be updated only when file is changed, this prevents race conditions from happening during file migrations. This also makes LFS to not save LfsObject on every link to project which results in creating this race condition in the first place.

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

https://gitlab.com/gitlab-com/infrastructure/issues/4115

Edited by 🤖 GitLab Bot 🤖

Merge request reports