From: Miloš Mulač Date: Tue, 13 Feb 2007 16:41:21 +0000 (+0000) Subject: set children jobtype to SIMPLE X-Git-Tag: gridsite-core_R_1_4_0~5 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=499245c3995b79ec6343bc60c136d144f0bb1631;p=jra1mw.git set children jobtype to SIMPLE - enables state computation in case the subjobs are only autoregistered (no JobReg event) --- diff --git a/org.glite.lb.server/src/store.c.T b/org.glite.lb.server/src/store.c.T index 2012b32..f24dd2f 100644 --- a/org.glite.lb.server/src/store.c.T +++ b/org.glite.lb.server/src/store.c.T @@ -617,6 +617,7 @@ static edg_wll_ErrorCode states_values_embryonic( edg_wlc_JobIdDup(e->jobId, &stat->pub.parent_job)) goto err; stat->pub.state = EDG_WLL_JOB_SUBMITTED; stat->pub.owner = strdup(e->user); + stat->pub.jobtype = EDG_WLL_STAT_SIMPLE; stat->pub.stateEnterTimes[1 + EDG_WLL_JOB_SUBMITTED] = (int)e->timestamp.tv_sec; jobid_md5 = edg_wlc_JobIdGetUnique(jobid);