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:
566a4c9
)
Do not purge job from LB proxy prematurely while cancelling.
author
Zdeněk Salvet
<salvet@ics.muni.cz>
Fri, 17 Feb 2006 12:28:14 +0000
(12:28 +0000)
committer
Zdeněk Salvet
<salvet@ics.muni.cz>
Fri, 17 Feb 2006 12:28:14 +0000
(12:28 +0000)
org.glite.lb.server/src/db_store.c
patch
|
blob
|
blame
|
history
diff --git
a/org.glite.lb.server/src/db_store.c
b/org.glite.lb.server/src/db_store.c
index
e021ba3
..
13a56fd
100644
(file)
--- a/
org.glite.lb.server/src/db_store.c
+++ b/
org.glite.lb.server/src/db_store.c
@@
-89,9
+89,12
@@
db_store(edg_wll_Context ctx,char *ucs, char *event)
switch ( ev->any.type ) {
case EDG_WLL_EVENT_CLEAR:
case EDG_WLL_EVENT_ABORT:
- case EDG_WLL_EVENT_CANCEL:
edg_wll_PurgeServerProxy(ctx, ev->any.jobId);
break;
+ case EDG_WLL_EVENT_CANCEL:
+ if (ev->cancel.status_code == EDG_WLL_CANCEL_DONE)
+ edg_wll_PurgeServerProxy(ctx, ev->any.jobId);
+ break;
default: break;
}
} else {