Fix SimpleStepExecutionSplitter to restart COMPLETED partitions by KMGeon · Pull Request #5239 · spring-projects/spring-batch · GitHub
Skip to content

Fix SimpleStepExecutionSplitter to restart COMPLETED partitions - #5239

Closed
KMGeon wants to merge 1 commit into
spring-projects:mainfrom
KMGeon:gh-5238
Closed

KMGeon wants to merge 1 commit into
spring-projects:mainfrom
KMGeon:gh-5238

Conversation

@KMGeon

@KMGeon KMGeon commented Jan 25, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Remove redundant BatchStatus.COMPLETED check before shouldStart() in SimpleStepExecutionSplitter.split()
  • Add test cases for COMPLETED partition restart scenarios

Resolves #5238

  Remove redundant BatchStatus.COMPLETED check before shouldStart()
  so that allowStartIfComplete and same JobExecution cases work correctly.
  Resolves spring-projects#5238

Signed-off-by: mugeon <pos04167@kakao.com>
@fmbenhassine

Copy link
Copy Markdown
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SimpleStepExecutionSplitter does not restart COMPLETED partitions even when allowStartIfComplete=true

2 participants