git://scientific.zcu.cz
/
jra1mw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14771ef
)
Treat successfully cancelled subjob like successfully done one
author
Zdeněk Salvet
<salvet@ics.muni.cz>
Wed, 17 Mar 2010 12:34:28 +0000
(12:34 +0000)
committer
Zdeněk Salvet
<salvet@ics.muni.cz>
Wed, 17 Mar 2010 12:34:28 +0000
(12:34 +0000)
in collection state computation.
org.glite.lb.server/src/jobstat.c
patch
|
blob
|
blame
|
history
diff --git
a/org.glite.lb.server/src/jobstat.c
b/org.glite.lb.server/src/jobstat.c
index
dd54dee
..
0f56420
100644
(file)
--- a/
org.glite.lb.server/src/jobstat.c
+++ b/
org.glite.lb.server/src/jobstat.c
@@
-1097,6
+1097,9
@@
static subjobClassCodes class(edg_wll_JobStat *stat)
// failed & cancelled
return(SUBJOB_CLASS_REST);
break;
+ case EDG_WLL_JOB_CANCELLED:
+ return(SUBJOB_CLASS_DONE);
+ break;
case EDG_WLL_JOB_ABORTED:
return(SUBJOB_CLASS_ABORTED);
break;