Changeset 34237
- Timestamp:
- Jul 31, 2012, 11:18:29 AM (14 years ago)
- Location:
- tags/ipp-20120626/pstamp/scripts
- Files:
-
- 2 edited
-
pstamp_checkdependent.pl (modified) (3 diffs)
-
pstamp_cleanup.pl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
tags/ipp-20120626/pstamp/scripts/pstamp_checkdependent.pl
r33056 r34237 331 331 return $error_code 332 332 } 333 if (($ state eq 'update') and ($metadata->{fault})) {333 if (($data_state eq 'full') and ($metadata->{fault})) { 334 334 # fault dependent. 335 335 my $fault = $metadata->{fault}; 336 336 print STDERR "warp $warp_id $skycell_id faulted: $fault"; 337 337 return $fault; 338 } 339 if (($state eq 'update') and ($metadata->{quality} ne 0)) { 340 print STDERR "warp $warp_id $skycell_id bad quality on update: $metadata->{quality}\n"; 341 return $PSTAMP_GONE; 338 342 } 339 343 … … 466 470 return $warp_status; 467 471 } 468 } 472 } elsif ($warp1->{quality} != 0) { 473 print STDERR "warp $warp1->{warp_id} $skycell_id has poor quality: $warp1->{quality}\n"; 474 faultComponent('diff', $diff_id, $skycell_id, $PSTAMP_GONE); 475 return $PSTAMP_GONE; 476 } 469 477 $command = "$warptool -warped -warp_id $skycell->{warp2} -skycell_id $skycell_id"; 470 478 my $warp2 = runToolAndParseExpectOne($command, $verbose); … … 477 485 faultComponent('diff', $diff_id, $skycell_id, $PSTAMP_GONE); 478 486 } 479 } 487 } elsif ($warp2->{quality} != 0) { 488 print STDERR "warp $warp2->{warp_id} $skycell_id has poor quality: $warp2->{quality}\n"; 489 faultComponent('diff', $diff_id, $skycell_id, $PSTAMP_GONE); 490 return $PSTAMP_GONE; 491 } 480 492 481 493 if (!$warps_ready) { -
tags/ipp-20120626/pstamp/scripts/pstamp_cleanup.pl
r33927 r34237 81 81 82 82 my_die("Cleanup not yet supported for reqType: $reqType", $req_id, $PS_EXIT_UNKNOWN_ERROR) 83 if ($reqType ne "pstamp") and ($reqType ne "NULL") and ($reqType ne "dquery") ;83 if ($reqType ne "pstamp") and ($reqType ne "NULL") and ($reqType ne "dquery") and ($reqType ne 'unknown'); 84 84 85 85 my $mdcParser = PS::IPP::Metadata::Config->new; # Parser for metadata config files
Note:
See TracChangeset
for help on using the changeset viewer.
