0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2024-12-16 21:56:37 -05:00
zot/pkg/storage
Andrei Aaron 6a83dd47c0
fix(scheduler): the session cleanup generator is reset too often (#2220)
This causes the "fair" scheduler to run it too often in the detriment of other generators.
The intention was to run it every 2 hours but the measurement unit for 7200 was not specified.

Add more logs, including showing a generator name, in order to troubleshoot this kind of issues easier in the future.

Signed-off-by: Andrei Aaron <aaaron@luxoft.com>
2024-02-01 09:15:53 -08:00
..
cache refactor: rename go module from zotregistry.io/zot to zotregistry.dev/zot (#2187) 2024-01-31 20:34:07 -08:00
common fix(scheduler): the session cleanup generator is reset too often (#2220) 2024-02-01 09:15:53 -08:00
constants feat(retention): added image retention policies (#1866) 2023-11-01 09:16:18 -07:00
gc fix(scheduler): the session cleanup generator is reset too often (#2220) 2024-02-01 09:15:53 -08:00
imagestore refactor: rename go module from zotregistry.io/zot to zotregistry.dev/zot (#2187) 2024-01-31 20:34:07 -08:00
local refactor: rename go module from zotregistry.io/zot to zotregistry.dev/zot (#2187) 2024-01-31 20:34:07 -08:00
s3 refactor: rename go module from zotregistry.io/zot to zotregistry.dev/zot (#2187) 2024-01-31 20:34:07 -08:00
types refactor: rename go module from zotregistry.io/zot to zotregistry.dev/zot (#2187) 2024-01-31 20:34:07 -08:00
cache.go refactor: rename go module from zotregistry.io/zot to zotregistry.dev/zot (#2187) 2024-01-31 20:34:07 -08:00
cache_benchmark_test.go refactor: rename go module from zotregistry.io/zot to zotregistry.dev/zot (#2187) 2024-01-31 20:34:07 -08:00
cache_test.go refactor: rename go module from zotregistry.io/zot to zotregistry.dev/zot (#2187) 2024-01-31 20:34:07 -08:00
README.md refactor(cache): rewrote/refactored cachedb functionality to use interface (#667) 2022-11-02 15:53:08 -07:00
scrub.go refactor: rename go module from zotregistry.io/zot to zotregistry.dev/zot (#2187) 2024-01-31 20:34:07 -08:00
scrub_test.go refactor: rename go module from zotregistry.io/zot to zotregistry.dev/zot (#2187) 2024-01-31 20:34:07 -08:00
storage.go refactor: rename go module from zotregistry.io/zot to zotregistry.dev/zot (#2187) 2024-01-31 20:34:07 -08:00
storage_controller.go refactor: rename go module from zotregistry.io/zot to zotregistry.dev/zot (#2187) 2024-01-31 20:34:07 -08:00
storage_test.go refactor: rename go module from zotregistry.io/zot to zotregistry.dev/zot (#2187) 2024-01-31 20:34:07 -08: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