Skip to content

Conversation

@quaff
Copy link
Contributor

@quaff quaff commented Dec 18, 2025

It's safe to remove stale version of JobExecution for testing purpose, this commit mitigate OptimisticLockingFailureException but cannot avoid since race condition may happen.

Fix GH-5161

…ception while removing JobExecution

It's safe to remove stale version of JobExecution for testing purpose, this commit mitigate OptimisticLockingFailureException but cannot avoid since race condition may happen.

Fix spring-projectsGH-5161

Signed-off-by: Yanming Zhou <[email protected]>
@szopal24
Copy link

In which version will this change be available?

@quaff
Copy link
Contributor Author

quaff commented Dec 18, 2025

In which version will this change be available?

Let's wait for response from project leader @fmbenhassine .

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

OptimisticLockingFailureException in JobRepositoryTestUtils.removeJobExecutions() since Spring Batch 5.2.3

2 participants