Project

Profile

Help

Issue #6411

Updated by CodeHeeler over 4 years ago

Full sync should take place when a rep is synced with a new remote.    After that first sync to the new remote, barring other changes, the second and subsequent syncs to this remote should be optimized. 

 That is not happening.    Instead, if no new repository version was created after the previous sync, the full sync takes place without optimization.    That takes place here when this check fails and thus optimization is skipped: 
 https://github.com/pulp/pulp_rpm/blob/master/pulp_rpm/app/tasks/synchronizing.py#L341 

 You can see this take place by uncommenting the last test_optimize scenarios in the code here: 
 https://github.com/pulp/pulp_rpm/pull/1654

Back