From 2e99c64c755d54c2e6c48ef4087c5056a1aad7aa Mon Sep 17 00:00:00 2001 From: =?utf8?q?Milo=C5=A1=20Mula=C4=8D?= Date: Thu, 28 Jun 2007 07:56:06 +0000 Subject: [PATCH] children_done_hist removed from intJobStat --- org.glite.lb.server/src/jobstat.c | 8 -------- org.glite.lb.server/src/jobstat.h | 4 +--- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/org.glite.lb.server/src/jobstat.c b/org.glite.lb.server/src/jobstat.c index ff6abe8..fdf9126 100644 --- a/org.glite.lb.server/src/jobstat.c +++ b/org.glite.lb.server/src/jobstat.c @@ -875,14 +875,6 @@ static edg_wll_ErrorCode update_parent_status(edg_wll_Context ctx, edg_wll_JobSt pis->pub.children_hist[class_to_statCode(subjob_class)+1]++; pis->pub.children_hist[class_to_statCode(subjob_class_old)+1]--; - /* XXX: not needed if DONE_OK and DONE_FAILED mapped on different field in histogram - * if furure proves it, children_done_hist field of intStat may be removed - if (cis->pub.state == EDG_WLL_JOB_DONE) - pis->children_done_hist[cis->pub.done_code]++; - if (coll_stat_old->state == EDG_WLL_JOB_DONE) - pis->children_done_hist[coll_stat_old->done_code]--; - */ - edg_wll_StoreSubjobHistogram(ctx, cis->pub.parent_job, pis); diff --git a/org.glite.lb.server/src/jobstat.h b/org.glite.lb.server/src/jobstat.h index 92fd5a7..850a27c 100644 --- a/org.glite.lb.server/src/jobstat.h +++ b/org.glite.lb.server/src/jobstat.h @@ -11,7 +11,7 @@ * (includes edg_wll_JobStat API structure) */ -#define INTSTAT_VERSION "release-3.3.1_pbs_condor" +#define INTSTAT_VERSION "release-3.3.2_pbs_condor" // Internal error codes @@ -52,8 +52,6 @@ typedef struct _intJobStat { char *deep_resubmit_seqcode; branch_state *branch_states; // branch zero terminated array -/* int expect_mask; */ - int children_done_hist[EDG_WLL_NUMBER_OF_DONE_CODES]; struct timeval last_pbs_event_timestamp; int pbs_reruning; // true if rerun event arrived } intJobStat; -- 1.8.2.3