spring-projects / spring-projects/spring-batch
Repetitive execution of FaultTolerantChunkProcessor's method process
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 3k
- Forks
- 2.5k
- Avg merge
- 6d 53m
- Merged PRs (30d)
- 3
Description
Bug description
When FaultTolerantChunkProcessor's method process throw a exeception(not the retriable exception), the method process will execute once more.
Environment
The version of the spring-batch-core that I use is 5.0.3.
Steps to reproduce
Steps to reproduce the issue.
Expected behavior
When method process throws a exception that dont need to retry, do not execute process.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by examining FaultTolerantChunkProcessor.process and reproduce the reported behavior with spring-batch-core 5.0.3, where a non-retriable exception causes process to execute again. No source file or test is named in the issue; done means process is invoked only once for an exception that does not require retry, with regression coverage for that behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100