Project

General

Profile

Bug #18416

Weight capsule sync tasks appropriately

Added by John Mitsch over 2 years ago. Updated 11 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Foreman Proxy Content
Target version:
Difficulty:
trivial
Triaged:
Yes
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

The creating of a repository takes way less time than the syncing part so we should weight them accordingly.


Subtasks

Associated revisions

Revision 166b598c (diff)
Added by John Mitsch about 2 years ago

Fixes #18416 - Weight capsule sync task

SyncCapsule task will take the longest by far during a capsule
sync so we should weight it heavily.

Once the SyncCapsule task initiates the pulp tasks, the
progress_weight of that step jumps to 0.5 (half done).
This is resulting in the progress bar jumping to over
half done very shortly after the sync is executed, even
if it will take hours more. This commit will modify each
SyncCapsule step to have a 0.1 progress weight until it
finishes. As the SyncCapsule steps finish, the progress
bar will move incrementally at a more even pace.

History

#1 Updated by The Foreman Bot over 2 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to John Mitsch
  • Pull request https://github.com/Katello/katello/pull/6592 added

#2 Updated by Justin Sherrill over 2 years ago

  • Category set to Foreman Proxy Content
  • Legacy Backlogs Release (now unused) set to 211
  • Difficulty set to trivial

#3 Updated by Brad Buckingham over 2 years ago

  • Target version set to 163

#4 Updated by Brad Buckingham about 2 years ago

  • Target version changed from 163 to 169

#5 Updated by John Mitsch about 2 years ago

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

Also available in: Atom PDF