The sync task examines the repomd.xml and the revision number in it. All
the logic for optimizing the sync is here[0].

[0]
https://github.com/pulp/pulp_rpm/blob/3.7/pulp_rpm/app/tasks/synchronizing.py#L169-L175

On Wed, Jan 13, 2021 at 1:45 PM Bin Li (BLOOMBERG/ 120 PARK) <
[email protected]> wrote:

> Happy new year.
> I run a mirrored sync with upstream. The sync didn't pick up new rpms in
> upstream repo. I rerun sync with optimize=false and it synced all rpms. I
> do see the file names from new rpms are in the filelists.xml.gz of the
> upstream repodata. Just wondering which repo data does pulp check before
> starting a optimized mirror sync and why the optimized sync didn't work?
> _______________________________________________
> Pulp-list mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/pulp-list
_______________________________________________
Pulp-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/pulp-list

Reply via email to