0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2025-01-13 21:45:08 +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 Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2022-10-24 20:29:17 +01:00
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 Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2022-10-24 20:29:17 +01:00
hcaptcha
highlight Show syntax lexer name in file view/blame (#21814) 2022-11-19 13:08:06 +02:00
hostmatcher Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2022-10-24 20:29:17 +01:00
html Move svg html render to modules/svg (#21716) 2022-11-08 23:13:58 +08:00
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 Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2022-10-24 20:29:17 +01:00
markup Support comma-delimited string as labels in issue template (#21831) 2022-11-19 15:22:15 +00:00
mcaptcha Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2022-10-24 20:29:17 +01:00
metrics
migration Replace yaml.v2 with yaml.v3 (#21832) 2022-11-21 16:36:59 +08:00
mirror Implement sync push mirror on commit (#19411) 2022-07-08 20:45:12 +01:00
nosql
notification Add context.Context to more methods (#21546) 2022-11-19 16:12:33 +08:00
options Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2022-10-24 20:29:17 +01:00
packages Workaround for container registry push/pull errors (#21862) 2022-11-25 13:47:46 +08:00
paginator
password
pprof
private Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2022-10-24 20:29:17 +01:00
process
proxy
proxyprotocol
public
queue Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2022-10-24 20:29:17 +01:00
recaptcha Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2022-10-24 20:29:17 +01:00
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 Move svg html render to modules/svg (#21716) 2022-11-08 23:13:58 +08:00
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 Fix Timestamp.IsZero (#21593) 2022-10-26 21:34:44 +08:00
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 Improve valid user name check (#20136) 2022-11-04 17:04:08 +08:00
watcher
web Improve valid user name check (#20136) 2022-11-04 17:04:08 +08:00