Changeset 29330 for trunk/pstamp/scripts/pstampparse.pl
- Timestamp:
- Oct 5, 2010, 3:35:07 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/pstamp/scripts/pstampparse.pl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pstamp/scripts/pstampparse.pl
r28878 r29330 806 806 my ($r_jobState, $r_fault, $r_dep_id, $imagedb, $state, $stage, $stage_id, $component, $need_magic) = @_; 807 807 808 # XXX: The update process for warp and subsequent stages requires # destreaking to be performed 809 # because the -pending queries require the inputs to have magicked >= 0 810 # The case of stack-stack diffs not needing to be destreaked is taken care of in pstamp_checkdependent 811 $need_magic = 1 if $imagedb eq 'gpc1'; 808 if (($stage ne 'chip') and ($stage ne 'raw')) { 809 # XXX: The update process for warp and subsequent stages requires that destreaking to be performed 810 # because the -pending queries require the inputs to have magicked >= 0 811 # This is too conservative. For example stage is warp and the warp has never been destreaked we don't 812 # need magic either 813 # The case of stack-stack diffs not needing to be destreaked is taken care of in pstamp_checkdependent 814 # maybe we should put all of the smarts there and interpret the need_magic flag in the dependent as 815 # "The client needs to have magic performed" and let 816 # XXX: note the very nasty hard coding of gpc1 817 $need_magic = 1 if $imagedb eq 'gpc1'; 818 } 812 819 813 820 # chipRun's can be in full state if destreaking is necessary … … 900 907 $$r_newState = 'stop'; 901 908 $$r_fault = $PSTAMP_NOT_AVAILABLE; 902 } elsif ( !$image->{magicked}) {909 } elsif ($need_magic and !$image->{magicked}) { 903 910 $$r_newState = 'stop'; 904 911 $$r_fault = $PSTAMP_NOT_DESTREAKED;
Note:
See TracChangeset
for help on using the changeset viewer.
