From f984438ef3055570d2f000ccc7691531e0500085 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Milo=C5=A1=20Mula=C4=8D?= Date: Mon, 16 Oct 2006 09:37:36 +0000 Subject: [PATCH] don't call update_parent_job yet (not finished, not working) --- org.glite.lb.server/src/process_event.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/org.glite.lb.server/src/process_event.c b/org.glite.lb.server/src/process_event.c index 90c4701..21d5f80 100644 --- a/org.glite.lb.server/src/process_event.c +++ b/org.glite.lb.server/src/process_event.c @@ -245,7 +245,8 @@ static edg_wll_ErrorCode update_parent_status(edg_wll_JobStatCode old_state, enu /* not RUNNING yet? */ if (pis->pub.state < EDG_WLL_JOB_RUNNING) { //XXX cook artificial event for parent job - // and call db_store + // and call db_store (see handle_request() + // for usage!! ) } break; case EDG_WLL_JOB_DONE: @@ -943,13 +944,15 @@ int processEvent(intJobStat *js, edg_wll_Event *e, int ev_seq, int strict, char inst != NULL ? inst : ""); } } - + +#if 0 //not ready yet... /* check whether subjob state change does not change parent state */ if ((js->pub.parent_job) && (old_state != js->pub.state)) { if (update_parent_status(old_state, old_done_code, js)) // XXX: is it good error code? (hard one) res = RET_INTERNAL; } +#endif return res; -- 1.8.2.3