Skip to content
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

exception on process while recovering from rollback on write causes deadlock [BATCH-2302] #1301

spring-issuemaster opened this issue Sep 12, 2014 · 0 comments


Copy link

@spring-issuemaster spring-issuemaster commented Sep 12, 2014

zyro opened BATCH-2302 and commented

when a chunk is throwing an exception during process while it is recovering from an exception/rollback on write, i am facing a reproducible deadlock.
seems the second-run processing is then tried 3 times (RetryTemplate default?) and then the commitCount keeps just growing with the logs showing some kind of loop involving constantly busy inputs around

example project based on batch getting started guide showing the problem attached (gradle build, 2.0 wrapper included).

thanks, zyro

Affects: 3.0.1


Issue Links:

  • BATCH-2442 When an error is thrown on write and another error is thrown on process during retry, the job gets in a infinite loop and never finishes.

Referenced from: commits 8df217a, 5b056e8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
1 participant
You can’t perform that action at this time.