[lago-devel] Slow reposync

Nadav Goldin ngoldin at redhat.com
Sun May 7 06:12:04 UTC 2017


On Sat, May 6, 2017 at 7:01 PM, Yaniv Kaul <ykaul at redhat.com> wrote:
>
> Obviously, if I'm syncing a single repo, why is it fetching metadata from
> other repos?
> We perhaps need to start splitting the config files to multiple conf files?
> It makes sense anyway, especially if we run the reposync per each repo
> independently anyway?


Yep, unfortunately reposync reads all repos in the config, despite the
fact only one is enabled for each run. Though I hope that we only pay
the penalty for the first repo, so that the next repos should already
use the metadata fetched during the first repo synchronization. Thus
the overall running time difference should be small. If it fetches the
metadata for all repos over and over again then it is a problem.


Splitting the repo file makes sense, but it might make it harder to
maintain, and as I said, I'm not sure if it will have significant
effect on the running time.



More information about the lago-devel mailing list