From: Zdeněk Šustr Date: Mon, 30 Aug 2010 11:37:55 +0000 (+0000) Subject: Initialize stateEnterTime value for subjobs to the same value as the lastUpdateTime... X-Git-Tag: merge_21_src~1 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=7a0be3eedd1ceebfd6cfb8be0365e58549c8909a;p=jra1mw.git Initialize stateEnterTime value for subjobs to the same value as the lastUpdateTime. Fixes bug #71913. --- diff --git a/org.glite.lb.server/src/store.c.T b/org.glite.lb.server/src/store.c.T index 9213926..cfbc7a5 100644 --- a/org.glite.lb.server/src/store.c.T +++ b/org.glite.lb.server/src/store.c.T @@ -664,6 +664,7 @@ edg_wll_ErrorCode intJobStat_embryonic( stat->pub.jobtype = EDG_WLL_STAT_SIMPLE; stat->pub.stateEnterTimes[1 + EDG_WLL_JOB_SUBMITTED] = (int)e->timestamp.tv_sec; stat->pub.lastUpdateTime = e->timestamp; + stat->pub.stateEnterTime = e->timestamp; err: return edg_wll_Error(ctx,NULL,NULL);