You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@batchee.apache.org by "Scott Kurz (JIRA)" <ji...@apache.org> on 2015/11/13 18:03:10 UTC

[jira] [Created] (BATCHEE-69) Partition restart doesn't re-execute partitions when step has completed ( (allow-start-if-complete=true). Restart after a restart of a partitioned step with override=true is broken

Scott Kurz created BATCHEE-69:
---------------------------------

             Summary: Partition restart doesn't re-execute partitions when step has completed ( (allow-start-if-complete=true).  Restart after a restart of a partitioned step with override=true is broken
                 Key: BATCHEE-69
                 URL: https://issues.apache.org/jira/browse/BATCHEE-69
             Project: BatchEE
          Issue Type: Bug
          Components: jbatch-core
            Reporter: Scott Kurz
            Priority: Minor


Described just a bit more in:
https://github.com/WASdev/standards.jsr352.jbatch/issues/36

We're working on a TCK 1.1 test which will expose this issue.

Note that if you tried to recreate this today you'd probably hit a different symptom due to the bug fixed in my BATCHEE-54 patch in PartitionedStepController:

+        if (numTotalForThisExecution == 0) {
+            //All partitions have already completed on a previous execution
+            return;

The fix in:
https://github.com/WASdev/standards.jsr352.jbatch/commit/57fa84b23ea5ced5beed676edf5f634a97f08559
will likely help, though I don't have a JPA version yet. 

I don't mind coming back to this, but I'll probably wait until the TCK test(s) are there to verify.






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)