Story #12574

[API] Propagate priority of parent container to children

Added by Tom Morris almost 4 years ago. Updated almost 4 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
-
Target version:
Start date:
11/30/2017
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)
Story points:
1.0

Description

Propagate from the requesting container to children.

A committed container request's priority should be no less than the priority of its requesting container, if any. Priority should be updated when the requesting container's priority changes.


Subtasks

Task #12645: Review 12574-propagate-priorityResolvedPeter Amstutz


Related issues

Related to Arvados - Story #12552: When priority is equal, the children of an earlier-submitted workflow should run firstResolved11/03/2017

Associated revisions

Revision 4ea88c89
Added by Peter Amstutz almost 4 years ago

Merge branch '12574-propagate-priority' closes #12574

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <>

History

#1 Updated by Tom Morris almost 4 years ago

  • Tracker changed from Bug to Story
  • Subject changed from Propagate priority of parent job (a-c-r) to children to [API Server] Propagate priority of parent job (a-c-r) to children
  • Description updated (diff)
  • Story points set to 1.0

#2 Updated by Tom Morris almost 4 years ago

  • Target version changed from To Be Groomed to Arvados Future Sprints

#3 Updated by Tom Morris almost 4 years ago

  • Target version changed from Arvados Future Sprints to 2017-12-06 Sprint

#4 Updated by Lucas Di Pentima almost 4 years ago

  • Assigned To set to Lucas Di Pentima

#5 Updated by Tom Clegg almost 4 years ago

  • Subject changed from [API Server] Propagate priority of parent job (a-c-r) to children to [API] Propagate priority of parent container to children
  • Description updated (diff)

#6 Updated by Peter Amstutz almost 4 years ago

  • Related to Story #12552: When priority is equal, the children of an earlier-submitted workflow should run first added

#7 Updated by Peter Amstutz almost 4 years ago

  • Status changed from New to In Progress
  • Assigned To changed from Lucas Di Pentima to Peter Amstutz

#8 Updated by Lucas Di Pentima almost 4 years ago

Just one suggestion: how about renaming update_priority to something more descriptive, like propagate_priority or update_children_priority. The code LGTM. Thanks!

#9 Updated by Anonymous almost 4 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF