Spring Projects Issues
Spring Projects Issues
**[Kristof Buts](https://jira.spring.io/secure/ViewProfile.jspa?name=butskri)** commented Added the scenario in a more readable form (use monospace font to view it)
**[Philippe Mouawad](https://jira.spring.io/secure/[email protected])** commented Hello, I am facing the same issue with Spring Batch 2.1.8 and 2.1.9. Is there some plan to take into account what Kristof Buts. Stacktrace: ``` threadPoolTaskExecutorForBatch-12]...
**[Philippe Mouawad](https://jira.spring.io/secure/[email protected])** commented Please find attached the spring batch classes put in INFO and DEBUG fororg.springframework.batch.core.step.tasklet. As you can see before failure we have this: [threadPoolTaskExecutorForBatch-2] 15:30:46,282 INFO org.springframework.batch.core.step.tasklet.TaskletStep$ChunkTransactionCallback.afterCompletion(TaskletStep.java:342) -...
**[Philippe Mouawad](https://jira.spring.io/secure/[email protected])** commented I have tested with last 2.2.1 and I have the same problem.
**[Philippe Mouawad](https://jira.spring.io/secure/[email protected])** commented Hello, Please find pull request here: https://github.com/SpringSource/spring-batch/pull/214 Hope you can take it into account soon. Regards Philippe
**[Philippe Mouawad](https://jira.spring.io/secure/[email protected])** commented Hello, After further analysis, I don't understand why copy method when restoring also copies the version number of oldVersion to stepExecution ? Could you shed some light...
**[Michael Minella](https://jira.spring.io/secure/ViewProfile.jspa?name=mminella)** commented I added a comment about the pull request. In short, moving the copy to where it is won't work because the StepExecution could have already been modified...
**[Philippe Mouawad](https://jira.spring.io/secure/[email protected])** commented Thanks for feedback. Further testing this morning on real world project showed me fix did not correct all cases, my real world case is still broken although...
**[Kristof Buts](https://jira.spring.io/secure/ViewProfile.jspa?name=butskri)** commented `@Michael` Minella, I'm afraid there is another (hidden) issue with this code: When running a batch multithreaded, one thread can commit stuff from another thread which can...
**[Gérald Quintana](https://jira.spring.io/secure/ViewProfile.jspa?name=gquintana)** commented We has this OptimisticLockingFailureException, when we noticed this log just before: "Commit failed while step execution data was already updated. Reverting to old version." . Turning org.springframework.batch.core.step.tasklet...