-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replication taking longer each time #16656
Comments
@piroh1990 How many artifacts did you have, and also could you share the execution tab and job logs? |
I'm running We saw an issue similar to the inflight requests accummulating here: #15474 but we since updated and this didn't happen for a long time. now, this issue. Our configuration below:
Now it appears that the job is stuck on this replications that keep failling |
@dioguerra For replication job, it will retry when failed and max retry times is 3. |
Hello @chlins Thank you for your response. |
@piroh1990 If you want to short the replication time, I suggest try to config the name and tag filter more specific like {project1,project2} because if leave empty it needs to list all artifacts from harbor. |
And also could you try to exclude charts to replicate but only artifacts to compare the performance? |
@chlins |
There maybe some performance issues in the chartmuseum component, and we suggest migrate charts from chartmuseum to OCI chart, chartmuseum will be deprecated in the future version. You can refer to https://goharbor.io/docs/2.3.0/working-with-projects/working-with-images/managing-helm-charts/#manage-helm-charts-with-the-oci-compatible-registry-of-harbor. |
Unfortunately it's not possible to use OCI Charts, since Rancher does not support it. Is there any way how we can debug this? |
This issue is being marked stale due to a period of inactivity. If this issue is still relevant, please comment or remove the stale label. Otherwise, this issue will close in 30 days. |
This issue was closed because it has been stalled for 30 days with no activity. If this issue is still relevant, please re-open a new issue. |
Hello
Since we Updated from Harbor 2.2.1 to 2.4.1 and now to 2.4.2 there is a Problem with the replication.
Every time the replication is running it takes slightly longer.
Over time this will lead to a extremely long replication time.
Syncing is done with another Harbor instance that runs on Version v2.1.4-e2426603
The Settings of the Replication is as following:
![Replication_Rule](https://user-images.githubusercontent.com/57915454/161968526-c32febc3-e377-4cfb-8b75-111d9d8c78ea.jpg)
As a workaround we are running a cronjob that is deleting all the Charts with the following two lines.
rm -f /data/chart_storage/cm2/*
rm -f /data/redis/dump.rdb
Does anyone know why this is happening and how we can fix it?
If you need additional log files i will of course provide everything you need.
The text was updated successfully, but these errors were encountered: