IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 29348


Ignore:
Timestamp:
Oct 7, 2010, 3:03:28 PM (16 years ago)
Author:
bills
Message:

check for fault in check_states_chip. This allows us to catch faults in chip updates
triggered by warp updates. Very very important enhancement for Bill's sanity.

File:
1 edited

Legend:

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

    r29052 r29348  
    239239                    print "skipping $command\n";
    240240                }
     241            } elsif ($chip->{fault}) {
     242                # fault the dependent
     243                my_die("chip $chip->{chip_id} $chip->{class_id} faulted: $chip->{fault}", $chip->{fault});
     244            } elsif ($chip->{dsFile_fault}) {
     245                # fault the dependent
     246                my_die("magicDSFile $chip->{magic_ds_id} $chip->{chip_id} $chip->{class_id} faulted: $chip->{dsFile_fault}", $chip->{dsFile_fault});
    241247            }
    242248        }
     
    317323            if (($chip->{data_state} ne 'full') or ($need_magic and ($chip->{magicked} <= 0))) {
    318324                $chips_ready = 0;
     325                $chip->{fault} = $chip->{chip_fault};
    319326                push @chipsToUpdate, $chip;
    320327            } else {
Note: See TracChangeset for help on using the changeset viewer.