Project

Profile

Help

Story #3176

closed

As a user, reserved work is not blocked by non-reserved work

Added by bmbouter over 6 years ago. Updated over 3 years ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Groomed:
Yes
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

Description

Problem

Say you have 4 workers and sync 10 things. 4 sync's start and 6 are still in the resource manager waiting for a worker to become free. Then the user submits a non-reserved task like orphan cleanup. This task immediately flows through the celery queue and is handed to one of the 4 workers who will work on it after handling the current sync. Then the resource manager assigns more work to free workers and one or more sync tasks could be stuck behind the orphan cleanup task.

Idea

Have all work flow through the resource_manager queue and have nothing flow through the celery queue. In fact have the workers stop consuming from the celery queue.

Design

Have tasks that current don't get a reservation, get a reservation that locks on a random uuid. This will cause the resource manager to not assign more work to a worker handling a task like an orphan cleanup.

Also get the workers to stop listening to the celery queue. There should be no ability to send work to the workers outside of the dedicated queues.

Actions #1

Updated by dkliban@redhat.com over 6 years ago

  • Groomed changed from No to Yes
Actions #2

Updated by daviddavis over 6 years ago

  • Sprint/Milestone set to 52
Actions #3

Updated by rchan over 6 years ago

  • Sprint/Milestone changed from 52 to 53
Actions #4

Updated by jortel@redhat.com about 6 years ago

  • Sprint/Milestone changed from 53 to 54
Actions #5

Updated by jortel@redhat.com about 6 years ago

  • Sprint/Milestone deleted (54)
Actions #6

Updated by bmbouter about 6 years ago

  • Sprint Candidate changed from Yes to No

This is a good idea, but for time and priority reasons relative to other beta work, I'm not nominating it for a sprint anymore.

Actions #7

Updated by bmbouter almost 5 years ago

  • Tags deleted (Pulp 3)
Actions #8

Updated by daviddavis over 3 years ago

  • Status changed from NEW to CLOSED - WONTFIX

Also available in: Atom PDF