0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2025-04-08 02:54:41 -05:00
zot/pkg
Ramkumar Chinchani 386c72d332 routes: refactor locks to handle large file uploads
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.
2020-10-16 13:33:11 -07:00
..
api routes: refactor locks to handle large file uploads 2020-10-16 13:33:11 -07:00
cli search/cve: exclude unsupported images from fixed-tag list. 2020-09-22 09:24:04 -07:00
compliance Upgraded build pipeline 2020-06-25 23:43:31 -07:00
extensions/search test: minimize trivy db download tests to avoid api rate limit 2020-10-15 14:32:37 -07:00
log Upgraded build pipeline 2020-06-25 23:43:31 -07:00
storage routes: refactor locks to handle large file uploads 2020-10-16 13:33:11 -07:00