Harbor.Tagd icon indicating copy to clipboard operation
Harbor.Tagd copied to clipboard

504 Timeout should skip to next repo and not crash

Open moshloop opened this issue 6 years ago • 2 comments

We have a few repo's that have grown quite large and return 504 timeouts when listing the tags, this crashes Tagd, it should rather log a warning, and continue to the next repo.

moshloop avatar Jun 11 '19 08:06 moshloop

That makes sense to me. @moshloop Have you reported the issue to Harbor? We definitely shouldn't be timing out for larger repos.

nlowe avatar Jun 11 '19 13:06 nlowe

this is because harbor api perf issue, when list repo tags, will fetch tags all details, but the api fail in a deadlock, harbor api should refactoring And they're already doing it. https://github.com/goharbor/harbor/issues/6876 I hope before the problem is solved, tagd will skip timeout error and not crash.

lf1029698952 avatar Jul 26 '19 08:07 lf1029698952