mirror of
https://github.com/go-gitea/gitea
synced 2024-12-22 12:37:53 +01:00
a1ae83f36e
This PR addresses #19586 I added a mutex to the upload version creation which will prevent the push errors when two requests try to create these database entries. I'm not sure if this should be the final solution for this problem. I added a workaround to allow a reupload of missing blobs. Normally a reupload is skipped because the database knows the blob is already present. The workaround checks if the blob exists on the file system. This should not be needed anymore with the above fix so I marked this code to be removed with Gitea v1.20. Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> |
||
---|---|---|
.. | ||
composer | ||
conan | ||
container | ||
helm | ||
maven | ||
npm | ||
nuget | ||
pub | ||
pypi | ||
rubygems | ||
vagrant | ||
content_store.go | ||
hashed_buffer_test.go | ||
hashed_buffer.go | ||
multi_hasher_test.go | ||
multi_hasher.go |