Project

General

Profile

Feature #27248

Handle host-related tasks in separate queue to avoid conflicts with user-related actions

Added by Ivan Necas 3 months ago. Updated 2 months ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Hosts
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:

Description

To prevent the user-related actions to be highly influenced by the hosts-related tasks (such as errata applicability calculations), the work for the hosts should be put on dedicated queue with independent set of worker threads to process, so if the host-workers get starved, the non-host work could still flow.

Associated revisions

Revision 2d4f893b (diff)
Added by Ivan Necas 2 months ago

Fixes #27248 - introduce separate queue for host-related tasks

To prevent the user-related actions to be highly influenced by the
hosts-related tasks (such as errata applicability calculations), the
work for the hosts should be put on dedicated queue with independent set
of worker threads to process, so if the host-workers get starved, the
non-host work could still flow.

This PR is introducing new queue `hosts_queue` to be assigned to
host-related tasks and setting `host_tasks_workers_pool_size` to set how
many workers should be in the queue.

To achieve the old behaviour of one shared queue, one can set
`host_tasks_workers_pool_size` to 0.

Revision e29d5da8 (diff)
Added by Adam Ruzicka 2 months ago

Refs #27248 - Use host queue for more actions

History

#1 Updated by The Foreman Bot 3 months ago

  • Assignee set to Ivan Necas
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/8200 added

#2 Updated by Jonathon Turel 3 months ago

  • Triaged changed from No to Yes
  • Target version set to Katello 3.13.0
  • Subject changed from Handle host-related tasks in separate queue to avoid conflicts with user-related actions to Handle host-related tasks in separate queue to avoid conflicts with user-related actions

#3 Updated by The Foreman Bot 2 months ago

  • Pull request https://github.com/Katello/katello/pull/8276 added

#4 Updated by Adam Ruzicka 2 months ago

  • Assignee changed from Ivan Necas to Adam Ruzicka

#5 Updated by The Foreman Bot 2 months ago

  • Fixed in Releases Katello 3.14.0 added

#6 Updated by Ivan Necas 2 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF