From: Miloš Mulač Date: Mon, 16 Oct 2006 09:37:36 +0000 (+0000) Subject: don't call update_parent_job yet (not finished, not working) X-Git-Tag: mergeto_glite-lb-client_branch_2_3_0_0243_generic_23Nov06~11 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=f984438ef3055570d2f000ccc7691531e0500085;p=jra1mw.git don't call update_parent_job yet (not finished, not working) --- 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;