madecoste / swarming

Automatically exported from code.google.com/p/swarming
Apache License 2.0
0 stars 1 forks source link

Swarm Machines Allocation Problem #34

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
A problem can arise where an newer test request can take a swarm bot before an 
older test does, even if they have the exact same requirements.

This occurs because when a machine is returned after a test run, the old test 
won't try to take it until the next poll, but when the new test arrives it will 
immediately see if there is a free machine available and if there is it will 
use it.

The code should be modify so that the old test request will never be preempted 
by a newer one, since this could led to starvation.

Original issue reported on code.google.com by csharp@chromium.org on 16 Apr 2012 at 2:19

GoogleCodeExporter commented 9 years ago

Original comment by maruel@chromium.org on 3 Dec 2013 at 3:22