0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-26 15:24:21 +01:00
gitea/modules
KN4CK3R a1ae83f36e
Workaround for container registry push/pull errors (#21862)
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>
2022-11-25 13:47:46 +08:00
..
activitypub Fix dashboard ignored system setting cache (#21621) 2022-11-10 14:43:53 +08:00
analyze
auth
avatar
base
cache Fix dashboard ignored system setting cache (#21621) 2022-11-10 14:43:53 +08:00
charset
container
context Add support for HEAD requests in Maven registry (#21834) 2022-11-24 16:25:13 +02:00
convert Add context.Context to more methods (#21546) 2022-11-19 16:12:33 +08:00
csv
doctor Add context.Context to more methods (#21546) 2022-11-19 16:12:33 +08:00
emoji
eventsource
generate
git Handle empty author names (#21902) 2022-11-23 08:52:57 +08:00
gitgraph
graceful
hcaptcha
highlight Show syntax lexer name in file view/blame (#21814) 2022-11-19 13:08:06 +02:00
hostmatcher
html
httpcache
httplib
indexer Show syntax lexer name in file view/blame (#21814) 2022-11-19 13:08:06 +02:00
issue/template Support comma-delimited string as labels in issue template (#21831) 2022-11-19 15:22:15 +00:00
json
lfs
log
markup Support comma-delimited string as labels in issue template (#21831) 2022-11-19 15:22:15 +00:00
mcaptcha
metrics
migration Replace yaml.v2 with yaml.v3 (#21832) 2022-11-21 16:36:59 +08:00
mirror
nosql
notification Add context.Context to more methods (#21546) 2022-11-19 16:12:33 +08:00
options
packages Workaround for container registry push/pull errors (#21862) 2022-11-25 13:47:46 +08:00
paginator
password
pprof
private
process
proxy
proxyprotocol
public
queue
recaptcha
references
regexplru
repository Add context.Context to more methods (#21546) 2022-11-19 16:12:33 +08:00
secret
session
setting Add option to enable CAPTCHA validation for login (#21638) 2022-11-22 21:13:18 +00:00
sitemap
ssh
storage
structs Support comma-delimited string as labels in issue template (#21831) 2022-11-19 15:22:15 +00:00
svg
sync
system Fix dashboard ignored system setting cache (#21621) 2022-11-10 14:43:53 +08:00
templates Fix vertical align of committer avatar rendered by email address (#21884) 2022-11-23 15:57:37 -06:00
test
timeutil
translation
typesniffer
updatechecker
upload
uri
user
util Show syntax lexer name in file view/blame (#21814) 2022-11-19 13:08:06 +02:00
validation
watcher
web