19917: Synthesize scheduling parameters when retrying a container
authorBrett Smith <brett.smith@curii.com>
Thu, 19 Jan 2023 20:39:29 +0000 (15:39 -0500)
committerBrett Smith <brett.smith@curii.com>
Thu, 19 Jan 2023 22:28:23 +0000 (17:28 -0500)
commitb896832bf02ded0c9142d758c2866fa4f1ec09e9
treea88f27a3c3c9130851be242a82eb376183e4daa7
parentb5dfc8fb22ef85e09e7034b7899f54dfe5adb6cd
19917: Synthesize scheduling parameters when retrying a container

When we retry a cancelled container, there may be any number of
container requests that want it, each with their own scheduling
parameters. Create a new set of scheduling parameters for the new
container where each parameter has the most lax setting from all the
outstanding container requests.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
services/api/app/models/container.rb
services/api/test/unit/container_test.rb