children_done_hist removed from intJobStat
authorMiloš Mulač <mulac@civ.zcu.cz>
Thu, 28 Jun 2007 07:56:06 +0000 (07:56 +0000)
committerMiloš Mulač <mulac@civ.zcu.cz>
Thu, 28 Jun 2007 07:56:06 +0000 (07:56 +0000)
org.glite.lb.server/src/jobstat.c
org.glite.lb.server/src/jobstat.h

index ff6abe8..fdf9126 100644 (file)
@@ -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);
 
 
index 92fd5a7..850a27c 100644 (file)
@@ -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;