spring-projects / spring-projects/spring-batch

Repetitive execution of FaultTolerantChunkProcessor's method process

Open
#4,486 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

status: waiting-for-reporter type: bug
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.