IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 28145 for trunk/ippTools


Ignore:
Timestamp:
May 27, 2010, 1:21:34 PM (16 years ago)
Author:
bills
Message:

workaround for the problem described in ticket 1388. If a dependent faults in such
a way that the dependency can never be satisified don't create any more jobs that depends on it.

Location:
trunk/ippTools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/share/pstamptool_getdependent.sql

    r27856 r28145  
    11SELECT DISTINCT pstampDependent.*
    22FROM pstampDependent
    3 -- JOIN pstampJob USING(dep_id)
    4 -- JOIN pstampRequest USING(req_id)
    53WHERE pstampDependent.state = 'new'
  • trunk/ippTools/src/pstamptool.c

    r28106 r28145  
    11361136            return false;
    11371137        }
     1138        psS32 fault = psMetadataLookupS64(NULL, dep, "fault");
     1139        if (fault > 0) {
     1140            fprintf(stderr, "existing dependent has fault %d\n", fault);
     1141            exit (fault);
     1142        }
    11381143        printf("%" PRId64 "\n", dep_id);
    11391144        psFree(output);
Note: See TracChangeset for help on using the changeset viewer.