14360: Fix instance creation limiting.
authorTom Clegg <tclegg@veritasgenetics.com>
Thu, 20 Dec 2018 14:44:45 +0000 (09:44 -0500)
committerTom Clegg <tclegg@veritasgenetics.com>
Thu, 20 Dec 2018 14:44:45 +0000 (09:44 -0500)
commitee1161113168d709f0cb0513f192631c1f35b3ab
tree2ab8f0e2284452a40943e30268054550ae344ef2
parent7b45cf3217fbee46cdd706893ec948bfedaae24c
14360: Fix instance creation limiting.

Scheduler was claiming one of its unalloc instances only if the
container could be scheduled, so the "need new instance" condition was
not triggered for lower-priority containers needing the same instance
type.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>
lib/dispatchcloud/scheduler/run_queue.go