IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 27, 2021, 11:29:11 PM (5 years ago)
Author:
mhuber
Message:

set error_cleaned to be bad component and fault job row rather than fault and block parsing entire request (IPP-942)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pstamp/scripts/dqueryparse.pl

    r41440 r41478  
    385385                    ($query{$fpa_id}{STATE}[$valid_index] eq 'drop') or
    386386                    ($query{$fpa_id}{STATE}[$valid_index] eq 'error_cleaned') or
     387                    ($query{$fpa_id}{DATA_STATE}[$valid_index] eq 'error_cleaned') or
    387388                    ($query{$fpa_id}{STATE}[$valid_index] eq 'goto_scrubbed') or
    388389                    ($query{$fpa_id}{DATA_STATE}[$valid_index] eq 'scrubbed')) {
     
    390391                    # image is gone and it's not coming back
    391392                    $query{$fpa_id}{FAULT}[$valid_index] = $PSTAMP_GONE;
     393                    ## MEH error_cleaned isn't necessarily gone though
     394                    ## if BAD_COMPONENT not set then doesn't get added to faulted_rows list (others need this too?)
     395                    $query{$fpa_id}{BAD_COMPONENT}[$valid_index] = 1;
    392396                }
    393397                elsif ($need_magic and ($query{$fpa_id}{MAGICKED}[$valid_index] eq 0)) {
Note: See TracChangeset for help on using the changeset viewer.