Clean reposync directory after n times of sync failure

Description

Sometimes reposync fail to sync rpms that already been synced.
To resolve this issue, lago removes those rpms, and runs reposync again.
This resolution doesn't always work, and then we need to clean all the rpms that were synced.

We want lago to clear the cached rpms after n times of sync failure, and then try to sync again.

Activity

Show:

Nadav Goldin July 3, 2017 at 9:52 PM

I didn't see any failures with this at least in the past 2 months. We added some fixes to reposync flow, but that was a while ago.

Eyal Edri July 3, 2017 at 1:58 PM

was there any progress on this? if we still suffer from reposync errors, might worth prioritizing.

Nadav Goldin December 8, 2016 at 4:44 PM

To resolve this issue, lago removes those rpms, and runs reposync again.

The 'lago remove those rpms' part, didn't usually happen. Hopefully now on 'master' branch it should, so we'll have to wait and see if it resolves the issues, or we need to be more aggressive as suggested and wipe out the entire cache.

Eyal Edri December 8, 2016 at 3:05 PM

anything you're doing now on reposync will solve this?

Cannot Reproduce

Details

Assignee

Reporter

Priority

Created August 29, 2016 at 12:25 PM
Updated August 3, 2017 at 3:02 PM
Resolved July 4, 2017 at 7:04 AM