Skip to content

Make object storage finalize copy to a background job

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

In #216442 (closed), we see that object storage uploads get finalized by copying the file in object storage from a temporary location to its target location:

image

While this may be necessary for things like LFS where you want to check the contents before storing the file in a shared pool, there may be times when the copying of this file takes too long. Generally this copy is pretty fast, but when we start to talk about several gigabytes of this data, this copy can exceed the 60-second timeout. For these situations, we may need to finalize this in a Sidekiq job.

Edited by 🤖 GitLab Bot 🤖