0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2024-12-16 21:56:37 -05:00
zot/pkg/api
Vishwas Rajashekar 767f81d4f5
feat(sync): support for periodic repo sync in scale-out cluster (#2424)
This commit includes support for periodic repo sync in a scale-out
cluster.
Before this commit, all cluster members would sync all the repos as
the config is shared.

With this change, in periodic sync, the cluster member checks whether
it manages the repo. If it does not manage the repo, it will skip the
sync.

This commit also includes a unit test to test on-demand sync too, but
there are no logic changes for it as it is implicitly handled by the
proxying logic.

Signed-off-by: Vishwas Rajashekar <vrajashe@cisco.com>
2024-05-31 09:25:34 -07:00
..
config feat(cluster): Add support for request proxying for scale out (#2385) 2024-05-20 09:05:21 -07:00
constants feat(cluster): Add support for request proxying for scale out (#2385) 2024-05-20 09:05:21 -07:00
errors refactor: rename go module from zotregistry.io/zot to zotregistry.dev/zot (#2187) 2024-01-31 20:34:07 -08:00
authn.go fix(sync): added bearer client for sync (#2222) 2024-02-14 09:18:10 -08:00
authn_test.go test: fix flacky coverage in cookiestore cleanup tests (#2257) 2024-02-19 14:43:30 -08:00
authz.go refactor: rename go module from zotregistry.io/zot to zotregistry.dev/zot (#2187) 2024-01-31 20:34:07 -08:00
controller.go feat(cluster): Add support for request proxying for scale out (#2385) 2024-05-20 09:05:21 -07:00
controller_test.go feat(cluster): Add support for request proxying for scale out (#2385) 2024-05-20 09:05:21 -07:00
cookiestore.go test: fix flacky coverage in cookiestore cleanup tests (#2257) 2024-02-19 14:43:30 -08:00
ldap.go chore: fix dependabot alerts (#2377) 2024-04-09 10:40:16 +03:00
proxy.go feat(sync): support for periodic repo sync in scale-out cluster (#2424) 2024-05-31 09:25:34 -07:00
proxy_test.go feat(cluster): Add support for request proxying for scale out (#2385) 2024-05-20 09:05:21 -07:00
recovery.go refactor: rename go module from zotregistry.io/zot to zotregistry.dev/zot (#2187) 2024-01-31 20:34:07 -08:00
routes.go feat(cluster): Add support for request proxying for scale out (#2385) 2024-05-20 09:05:21 -07:00
routes_test.go refactor: rename go module from zotregistry.io/zot to zotregistry.dev/zot (#2187) 2024-01-31 20:34:07 -08:00
session.go refactor: rename go module from zotregistry.io/zot to zotregistry.dev/zot (#2187) 2024-01-31 20:34:07 -08:00