0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2025-01-06 22:40:28 -05:00
zot/pkg/storage
peusebiu 1df743f173
fix(gc): sync repodb when gc'ing manifests (#1819)
fix(gc): fix cleaning deduped blobs because they have the modTime of
the original blobs, fixed by updating the modTime when hard linking
the blobs.
fix(gc): failing to parse rootDir at zot startup when using s3 storage
because there are no files under rootDir and we can not create empty dirs
on s3, fixed by creating an empty file under rootDir.

Signed-off-by: Petu Eusebiu <peusebiu@cisco.com>
2023-09-22 11:51:20 -07:00
..
cache refactor(storage): refactor storage into a single ImageStore (#1656) 2023-09-01 10:54:39 -07:00
common fix(gc): sync repodb when gc'ing manifests (#1819) 2023-09-22 11:51:20 -07:00
constants refactor(storage): refactor storage into a single ImageStore (#1656) 2023-09-01 10:54:39 -07:00
gc fix(gc): sync repodb when gc'ing manifests (#1819) 2023-09-22 11:51:20 -07:00
imagestore fix(gc): sync repodb when gc'ing manifests (#1819) 2023-09-22 11:51:20 -07:00
local fix(gc): sync repodb when gc'ing manifests (#1819) 2023-09-22 11:51:20 -07:00
s3 fix(gc): sync repodb when gc'ing manifests (#1819) 2023-09-22 11:51:20 -07:00
types fix(gc): sync repodb when gc'ing manifests (#1819) 2023-09-22 11:51:20 -07:00
cache.go refactor(storage): refactoring storage (#1459) 2023-05-26 11:08:19 -07:00
cache_benchmark_test.go feat(cache): dynamodb implementation (#953) 2022-11-22 10:29:57 -08:00
cache_test.go refactor(storage): refactor storage into a single ImageStore (#1656) 2023-09-01 10:54:39 -07:00
README.md refactor(cache): rewrote/refactored cachedb functionality to use interface (#667) 2022-11-02 15:53:08 -07:00
scrub.go feat(scheduler): pass the shutdown/reload ctx to running tasks (#1671) 2023-09-05 09:48:56 -07:00
scrub_test.go fix(gc): sync repodb when gc'ing manifests (#1819) 2023-09-22 11:51:20 -07:00
storage.go fix(gc): sync repodb when gc'ing manifests (#1819) 2023-09-22 11:51:20 -07:00
storage_controller.go refactor(storage): refactoring storage (#1459) 2023-05-26 11:08:19 -07:00
storage_test.go fix(gc): sync repodb when gc'ing manifests (#1819) 2023-09-22 11:51:20 -07:00

zot currently supports two types of underlying filesystems:

  1. local - a locally mounted filesystem

  2. remote - a remote filesystem such as AWS S3

The cache database can be configured independently of storage. Right now, zot supports the following database implementations:

  1. BoltDB - local storage. Set the "cloudCache" field in the config file to false. Example: examples/config-boltdb.json