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

RepositoryItemReader reads the first page twice when used with partitions. [BATCH-2141] #1454

spring-projects-issues opened this issue Nov 16, 2013 · 1 comment


Copy link

spring-projects-issues commented Nov 16, 2013

Gary Crawford opened BATCH-2141 and commented is called for each partition and initiates the processing of the first page by calling results = doPageRead(); but doesn't increment the page attribute which means that page 0 is processed twice. The fix is simply to have page++ after the call to doPageRead();

Affects: 3.0.0, 2.2.2

Reference URL: #244

Copy link
Collaborator Author

spring-projects-issues commented Nov 18, 2013

Gary Crawford commented

Thanks Michael.

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

No branches or pull requests

1 participant