Fix SimpleStepExecutionSplitter to restart COMPLETED partitions · spring-projects/spring-batch@3807cb2 · GitHub
Skip to content

Commit 3807cb2

Browse files
KMGeonfmbenhassine
authored andcommitted
Fix SimpleStepExecutionSplitter to restart COMPLETED partitions
Remove redundant BatchStatus.COMPLETED check before shouldStart() so that allowStartIfComplete and same JobExecution cases work correctly. Resolves #5238 Signed-off-by: mugeon <pos04167@kakao.com>
1 parent bf87da9 commit 3807cb2

2 files changed

Lines changed: 105 additions & 4 deletions

File tree

‎spring-batch-core/src/main/java/org/springframework/batch/core/partition/support/SimpleStepExecutionSplitter.java‎

Lines changed: 2 additions & 3 deletions

‎spring-batch-core/src/test/java/org/springframework/batch/core/partition/support/SimpleStepExecutionSplitterTests.java‎

Lines changed: 103 additions & 1 deletion

0 commit comments

Comments
 (0)