Changeset 30565 for trunk/pstamp/scripts/pstampparse.pl
- Timestamp:
- Feb 11, 2011, 10:23:48 AM (15 years ago)
- File:
-
- 1 edited
-
trunk/pstamp/scripts/pstampparse.pl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pstamp/scripts/pstampparse.pl
r30317 r30565 932 932 my $data_state = $image->{data_state}; 933 933 $data_state = $run_state if $stage eq 'stack'; 934 if (($run_state =~ /purged/) or ($run_state =~ /scrubbed/) or ($run_state eq 'drop')) { 934 my $component_fault = $image->{fault}; 935 my $stage_id = $image->{stage_id}; 936 my $component = $image->{component}; 937 938 if ($component_fault eq $PSTAMP_GONE) { 935 939 # image is gone and it's not coming back 940 print STDERR "$stage $stage_id $component is gone\n"; 941 $$r_newState = 'stop'; 942 $$r_fault = $PSTAMP_GONE; 943 } elsif (($run_state =~ /purged/) or ($run_state =~ /scrubbed/) or ($run_state eq 'drop')) { 944 # image is gone and it's not coming back 945 print STDERR "$stage $stage_id $component has state: $run_state data_state: $data_state\n"; 936 946 $$r_newState = 'stop'; 937 947 $$r_fault = $PSTAMP_GONE; 938 948 } elsif (($run_state eq "error_cleaned") or ($data_state eq 'error_cleaned')) { 939 949 # if cleanup had an error don't get the user's hopes up set fault to gone 950 print STDERR "$stage $stage_id $component has state: $run_state data_state: $data_state\n"; 940 951 $$r_newState = 'stop'; 941 952 $$r_fault = $PSTAMP_GONE;
Note:
See TracChangeset
for help on using the changeset viewer.
