fix over-compensation for attempts counter when task fails on suspect node
authorTom Clegg <tom@clinicalfuture.com>
Fri, 15 Nov 2013 15:51:02 +0000 (07:51 -0800)
committerTom Clegg <tom@clinicalfuture.com>
Fri, 15 Nov 2013 15:51:02 +0000 (07:51 -0800)
sdk/cli/bin/crunch-job

index 5c2885a2872d181eb65c27ad1b10aaf6c6f2d43a..a77e7366f30318486f91f6ae68183932c2b95d2e 100755 (executable)
@@ -807,7 +807,6 @@ sub reapchildren
          $Jobstep->{attempts} > 1) {
        Log ($jobstepid, "blaming failure on suspect node " . $slot[$proc{$pid}->{slot}]->{node}->{name} . " instead of incrementing jobstep attempts");
         $no_incr_attempts = 1;
-       --$Jobstep->{attempts};
       }
       ban_node_by_slot($proc{$pid}->{slot});
     }