This website requires JavaScript.
Explore
Help
Sign in
mirrors
/
pkg-proxy
Watch
1
Star
0
Fork
You've already forked pkg-proxy
1
mirror of
https://github.com/git-pkgs/proxy.git
synced
2026-11-09 15:49:16 -05:00
Code
Issues
Releases
Packages
Wiki
Activity
1,094
commits
25
branches
18
tags
8
MiB
main
Commit graph
pkg-proxy
/
internal
/
handler
/
arch_concurrency_test.go
Author
SHA1
Message
Date
Christian Heim
854182fa28
Concurrent clients could still end up with a database and a signature that don't belong together. Databases are now stored under their digest like signatures, so a cache row and its bytes always agree, also with several replicas on shared storage. Writes for one database are serialized, and the signature recovery shares the refresh with database requests, so a slow fetch can no longer store an older database over a newer one. When the cache write fails, the proxy serves the database the cache still describes. Unchanged databases are no longer rewritten, and a remembered missing signature is asked for again after the metadata TTL. The new tests force these interleavings with storage and upstream hooks.
2026-10-12 20:06:59 +02:00