Project

General

Profile

Actions

Bug #16827

closed

enhance post-sync skip detection with simple count check

Added by Martin Bacovsky about 8 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
High
Category:
Repositories
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1309384

Description of problem:

Currently we rely on pulp to tell us about updated or added units on a sync to determine whether or not to index all the content. We can probably enhance this a bit by simply checking the counts within the repo to see if it matches what we think should be in the repo. This check should take less than a second and would catch the case where a sync pulled in packages but was not indexed the first time (such as if the publish errored, or a scheduled sync completion was missed).

This would reduce the number of situations where a user is syncing but not seeing any updated packages.

Actions

Also available in: Atom PDF