[Yum-devel] [PATCH 4/4] populateSack(): parallel metadata downloading

James Antill james at fedoraproject.org
Mon Apr 2 15:49:47 UTC 2012


On Mon, 2012-04-02 at 10:33 -0400, Zdenek Pavlas wrote:
> >> Subject: Re: [Yum-devel] [PATCH 4/4] populateSack(): parallel metadata downloading
> 
> > How is this different from retrievAllMD()?
> 
> retrievAllMD() updates metadata of all repos based on mdpolicy,
> but additional metadata are downloaded in populateSack(), in a
> different code path.  This makes such downloads (eg filelists) 
> in parallel.

 Ok, I just assumed they'd share more code. Couple of minor things to
think about:

1. Naming it pre_populate() seems bad, as it's just to do with
downloading.

2. Doesn't deal with "all".

3. Are you sure we want it to be public?

...ACK.



More information about the Yum-devel mailing list