IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 26, 2010, 8:39:32 AM (16 years ago)
Author:
bills
Message:

Change the destreak cleanup to preserve the rows in the magicDSFile table

File:
1 edited

Legend:

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

    r28853 r29561  
    2222    JOIN rawExp ON chipRun.exp_id = rawExp.exp_id
    2323WHERE magicDSRun.stage = 'chip'
    24     AND ((magicDSRun.state = 'new' AND magicDSFile.fault > 0)
     24    AND (((magicDSRun.state = 'new' OR (magicDSRun.state = 'update'))
     25            AND magicDSFile.fault > 0)
     26            -- why don't we require a fault for these states?
    2527         OR ((magicDSRun.state = 'goto_censored' OR magicDSRun.state = 'goto_restored')
    2628              AND ((backup_path_base IS NOT NULL) OR (recovery_path_base IS NOT NULL))
Note: See TracChangeset for help on using the changeset viewer.