#2154 Importing stats tab should show the numbers for background jobs, too
Closed: MIGRATED 2 years ago by nikromen. Opened 3 years ago by praiskup.

We don't have any priority queue implemented on the dist-git side,
so it is totally misleading to see a number zero in stats when there
is actually a big queue:

No tasks (+ 451 others with lower priority) are in the importing state.

This is actually blocking all the builds, not only the background jobs.


Again now. (+1088 others). Importing is the bottleneck :-(

Note the major problem:
` [14:50:27][INFO][copr_dist_git.package_import][package_import:113][pid:2850712] make sure repos exist: @rubygems/rubygems/rubygem-mongoid-likes [14:51:06][ERROR][copr_dist_git.package_import][package_import:135][pid:2850712] cmd: ['/usr/share/dist-git/mkbranch', 'master', '@rubygems/rubygems/rubygem-mongoid-likes'], rc: 128, msg: IGNORING: Package module @rubygems/rubygems/rubygem-mongoid-likes already has a branch master

It is spending more than 30s on assuring that the repository exists.

FTR, the large background numbers reflect the fact that - when some long-running non-background job is being processed - no background job can be processed:
https://pagure.io/copr/copr/blob/31d83124eeaf2eb91f00fc0425efc7cf82c975a4/f/frontend/coprs_frontend/coprs/views/backend_ns/backend_general.py#_43-44

Commit 8ee4d1e relates to this ticket

Metadata Update from @nikromen:
- Issue close_status updated to: MIGRATED
- Issue status updated to: Closed (was: Open)

2 years ago

Log in to comment on this ticket.

Metadata