jakartaee / batch

The Jakarta Batch project produces the Batch Specification and API.
https://projects.eclipse.org/projects/ee4j.batch
Apache License 2.0
13 stars 18 forks source link

Require other validation on restart of partitioned step. #122

Open follis opened 4 years ago

follis commented 4 years ago

The partitionMapper on a restart can choose to override the previous partitioning and start fresh. If it does, when (the spec doesn't say) do we forget about the results of the previous run? What if the job crashes right after the mapper returns but before we do anything? Are there supposed to be previous results or not for the next restart? What do we do on a restart with no previous partition plan if the next try says to pick up where we left off?