IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 25423 for trunk/ippTools/share


Ignore:
Timestamp:
Sep 16, 2009, 5:05:19 PM (17 years ago)
Author:
bills
Message:

added new magicDSRun.states goto_restored and goto_censored
The 'revert' process handles processing these transitions
the end result is either 'restored' or 'cesored'
Removed torestoreMode which wasn't implemented yet

Location:
trunk/ippTools/share
Files:
1 deleted
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/share/Makefile.am

    r25419 r25423  
    173173     magicdstool_getrunids.sql \
    174174     magicdstool_getskycells.sql \
     175     magicdstool_revertdestreakedfile.sql \
    175176     magicdstool_todestreak_camera.sql \
    176177     magicdstool_todestreak_chip.sql \
     
    179180     magicdstool_todestreak_warp.sql \
    180181     magicdstool_toremove.sql \
    181      magicdstool_torestore.sql \
    182182     magicdstool_torevert_raw.sql \
    183183     magicdstool_torevert_chip.sql \
  • trunk/ippTools/share/magicdstool_torevert_camera.sql

    r25419 r25423  
    11SELECT
    22    magic_ds_id,
     3    magicDSRun.state,
    34    exp_id,
    45    re_place,
     
    2021WHERE magicDSRun.stage = 'camera'
    2122    AND ((magicDSRun.state = 'new' AND magicDSFile.fault > 0)
    22        OR magicDSRun.state = 'goto_censored'
    23        OR magicDSRun.state = 'goto_restored')
     23         OR ((magicDSRun.state = 'goto_censored' OR magicDSRun.state = 'goto_restored')
     24              AND (backup_path_base IS NOT NULL)
     25            )
     26        )
  • trunk/ippTools/share/magicdstool_torevert_chip.sql

    r25419 r25423  
    11SELECT
    22    magic_ds_id,
     3    magicDSRun.state,
    34    exp_id,
    45    re_place,
     
    1920WHERE magicDSRun.stage = 'chip'
    2021    AND ((magicDSRun.state = 'new' AND magicDSFile.fault > 0)
    21        OR magicDSRun.state = 'goto_censored'
    22        OR magicDSRun.state = 'goto_restored')
     22         OR ((magicDSRun.state = 'goto_censored' OR magicDSRun.state = 'goto_restored')
     23              AND ((backup_path_base IS NOT NULL) OR (recovery_path_base IS NOT NULL))
     24            )
     25        )
  • trunk/ippTools/share/magicdstool_torevert_diff.sql

    r25419 r25423  
    11SELECT
    22    magic_ds_id,
     3    magicDSRun.state,
    34    exp_id,
    45    re_place,
     
    1920WHERE magicDSRun.stage = 'diff'
    2021    AND ((magicDSRun.state = 'new' AND magicDSFile.fault > 0)
    21        OR magicDSRun.state = 'goto_censored'
    22        OR magicDSRun.state = 'goto_restored')
     22         OR ((magicDSRun.state = 'goto_censored' OR magicDSRun.state = 'goto_restored')
     23              AND ((backup_path_base IS NOT NULL) OR (recovery_path_base IS NOT NULL))
     24            )
     25        )
  • trunk/ippTools/share/magicdstool_torevert_raw.sql

    r25419 r25423  
    11SELECT
    22    magic_ds_id,
     3    magicDSRun.state,
    34    exp_id,
    45    re_place,
     
    1516    JOIN magicDSFile using(magic_ds_id)
    1617    JOIN rawImfile ON (stage_id = exp_id AND component = class_id)
    17     JOIN summitImfile ON (rawImfile.exp_name = summitImfile.exp_name
    18                       AND rawImfile.tmp_class_id = summitImfile.class_id)
    1918WHERE magicDSRun.stage = 'raw'
    2019    AND ((magicDSRun.state = 'new' AND magicDSFile.fault > 0)
    21        OR magicDSRun.state = 'goto_censored'
    22        OR magicDSRun.state = 'goto_restored')
     20         OR ((magicDSRun.state = 'goto_censored' OR magicDSRun.state = 'goto_restored')
     21              AND ((backup_path_base IS NOT NULL) OR (recovery_path_base IS NOT NULL))
     22            )
     23        )
  • trunk/ippTools/share/magicdstool_torevert_warp.sql

    r25419 r25423  
    11SELECT
    22    magic_ds_id,
     3    magicDSRun.state,
    34    exp_id,
    45    re_place,
     
    2223WHERE magicDSRun.stage = 'warp'
    2324    AND ((magicDSRun.state = 'new' AND magicDSFile.fault > 0)
    24        OR magicDSRun.state = 'goto_censored'
    25        OR magicDSRun.state = 'goto_restored')
     25         OR ((magicDSRun.state = 'goto_censored' OR magicDSRun.state = 'goto_restored')
     26              AND ((backup_path_base IS NOT NULL) OR (recovery_path_base IS NOT NULL))
     27            )
     28        )
Note: See TracChangeset for help on using the changeset viewer.