[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [OSSTEST PATCH 14/21] tcl/JobDB-Executive: Do not squash "starved" status



ts-hosts-allocate is going to set the job status to `starved'
sometimes, and then die.  `starved' needs to be added to the list of
job statuses that sg-run-job leaves alone.

Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
 tcl/JobDB-Executive.tcl | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tcl/JobDB-Executive.tcl b/tcl/JobDB-Executive.tcl
index 57ded025..4f3409a9 100644
--- a/tcl/JobDB-Executive.tcl
+++ b/tcl/JobDB-Executive.tcl
@@ -55,6 +55,7 @@ proc job-set-status-unlocked {flight job st} {
            UPDATE jobs SET status='$st'
                WHERE flight=$flight AND job='$job'
                  AND status<>'aborted' AND status<>'broken'
+                  AND status<>'starved'
     "
 }
 
-- 
2.11.0


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.