IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 29578


Ignore:
Timestamp:
Oct 26, 2010, 4:13:28 PM (16 years ago)
Author:
bills
Message:

set file to not available if ane existing dependent is faulted so as not to
fault the whole request

File:
1 edited

Legend:

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

    r29577 r29578  
    837837            print STDERR "$command failed with fault $fault\n";
    838838            if ($fault < 10) {
    839                 # I added the following to the production build one Sunday
    840                 # night with the comment
    841                 # a Sunday night hack
    842                 # I don't recall what the issue was.
    843                 # Comment out for now.
    844                 # $fault = $PSTAMP_NOT_AVAILABLE
     839                # pstamptool returns an error if an existing depenent is faulted
     840                # Set the object to not available even if the fault < 10
     841                # which is nominally a recoverable error in order to keep
     842                # the request from faulting (which can be very expensive if
     843                # there are a lot of requests)
     844                $fault = $PSTAMP_NOT_AVAILABLE
    845845            }
    846846            if ($fault >= 10) {
Note: See TracChangeset for help on using the changeset viewer.