Skip to content

Multithreaded step reprocess chunk in violation of RetryPolicy [BATCH-2199] #1401

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
spring-projects-issues opened this issue Mar 20, 2014 · 0 comments

Comments

@spring-projects-issues
Copy link
Collaborator

Andrea Polci opened BATCH-2199 and commented

Similar problem to BATCH-1724, but affecting FaultTolerantChunkProcessor instead of SimpleChunkProcessor.

When the step use FaultTolerantChunkProcessor but the exception is not one that need to be retried the chunk is retried.

For example if I add a skippable-exception to a step, this cause the FaultTolerantChunkProcessor to be used. In the single threaded case any exception will not cause a retry because the retry limit is 0, but when the step is multithreaded the failing chunk will be reprocessed for the same problem that has been fixed in SimpleChunkProcessor.


Affects: 2.2.5

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

No branches or pull requests

2 participants