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

When an error is thrown on process and an another error is thrown on write within a chunk during retry, the skippable item on write never processed. [BATCH-2818] #797

Closed
spring-issuemaster opened this issue Apr 24, 2019 · 1 comment

Comments

@spring-issuemaster
Copy link
Collaborator

@spring-issuemaster spring-issuemaster commented Apr 24, 2019

dornwelt opened BATCH-2818 and commented

After the error BATCH-2442 has been fixed, the following error occurs: When an error is thrown on process and an another error is thrown on write within a chunk during retry, the write skip count is wrong and the onSkipInWrite - method on SkipListener never calls.

In attachment, the tescase testExceptionInProcessAndInWriteWithinChunk marked with "CUSTOM" and the possible solution that works for me.

  • read 6 items (chunk = 3)
  • while process last 3 items throw an error during process of item 4 and an error during write of item 6
  • The write skip count is 0. Expected 1.
  • The onSkipInWrite - method on SkipListener never calls
     

Affects: 4.1.0, 4.1.1, 4.1.2

Attachments:

@benas
Copy link
Contributor

@benas benas commented Feb 28, 2020

This is a duplicate of #775. Indeed, there was a regression due to the fix of BATCH-2442 which has been fixed in #775.

Affects: 4.1.0, 4.1.1, 4.1.2

The fix has been released in 4.0.4, 4.1.3 and 4.2.1.

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

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.