Project

General

Profile

Bug #16827

enhance post-sync skip detection with simple count check

Added by Martin Bacovsky over 5 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
High
Category:
Repositories
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

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.

Associated revisions

Revision eb2b67f6 (diff)
Added by Martin Bacovsky over 5 years ago

Fixes #16827 - do post sync when Pulp and Katello counts differ

History

#1 Updated by Martin Bacovsky over 5 years ago

  • Subject changed from enhance post-sync skip detection with simple count check to enhance post-sync skip detection with simple count check
  • Category changed from 111 to Repositories
  • Status changed from New to Assigned
  • Priority changed from Normal to High

#2 Updated by The Foreman Bot over 5 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/6380 added

#3 Updated by Martin Bacovsky over 5 years ago

  • Target version set to 1.5.1

#4 Updated by Justin Sherrill over 5 years ago

  • Legacy Backlogs Release (now unused) set to 197

#5 Updated by Martin Bacovsky over 5 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF