mirror of
https://github.com/project-zot/zot.git
synced 2024-12-16 21:56:37 -05:00
386c72d332
The storage layer is protected with read-write locks. However, we may be holding the locks over unnecessarily large critical sections. The typical workflow is that a blob is first uploaded via a per-client private session-id meaning the blob is not publicly visible yet. When the blob being uploaded is very large, the transfer takes a long time while holding the lock. Private session-id based uploads don't really need locks, and hold locks only when blobs are published after the upload is complete. |
||
---|---|---|
.. | ||
auth.go | ||
BUILD.bazel | ||
config.go | ||
controller.go | ||
controller_test.go | ||
errors.go | ||
ldap.go | ||
regexp.go | ||
routes.go |