Set lastUpdateTime of embryonic subjobs correctly (otherwise
authorZdeněk Salvet <salvet@ics.muni.cz>
Wed, 29 Aug 2007 17:36:43 +0000 (17:36 +0000)
committerZdeněk Salvet <salvet@ics.muni.cz>
Wed, 29 Aug 2007 17:36:43 +0000 (17:36 +0000)
they can be purged too soon).

org.glite.lb.server/src/store.c.T

index 7875300..2a2dabc 100644 (file)
@@ -695,6 +695,7 @@ static edg_wll_ErrorCode states_values_embryonic(
        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;
+       stat->lastUpdateTime = e->timestamp;
 
        jobid_md5 = edg_wlc_JobIdGetUnique(jobid);
        parent_md5 = edg_wlc_JobIdGetUnique(e->jobId);