IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 17, 2009, 10:01:32 AM (17 years ago)
Author:
bills
Message:

Require quality == 0 before queuing for distribution.
Work around a bug in stacking (faulted runs shouldn't be full).

File:
1 edited

Legend:

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

    r24725 r25428  
    88    distTarget.clean
    99FROM stackRun
     10JOIN stackSumSkyfile USING(stack_id)
    1011JOIN distTarget ON distTarget.stage = 'stack'
    1112    AND stackRun.label = distTarget.label
     
    1920    AND distRun.dist_id IS NULL
    2021    AND ((stackRun.state = 'full') OR (distTarget.clean AND stackRun.state = 'cleaned'))
     22    -- we shouldn't need to check fault. If faulted it shouldn't be full
     23    AND (stackSumSkyfile.fault = 0 AND stackSumSkyfile.quality = 0)
Note: See TracChangeset for help on using the changeset viewer.