Skip to content

Fix performance regression caused by SimpleJobRepository.update(StepExecution)#5364

Open
quaff wants to merge 1 commit intospring-projects:mainfrom
quaff:patch-62
Open

Fix performance regression caused by SimpleJobRepository.update(StepExecution)#5364
quaff wants to merge 1 commit intospring-projects:mainfrom
quaff:patch-62

Conversation

@quaff
Copy link
Copy Markdown
Contributor

@quaff quaff commented Mar 30, 2026

Introduce StepExecutionDao::synchronizeStatus to align with JobExecutionDao::synchronizeStatus, and refactor SimpleJobRepository::update to avoid querying entire entity graph to improve performance.

Closes GH-5360

This commit save queries for execution context.

See spring-projectsGH-5360

Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
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.

Performance in SimpleJobRepository.update(StepExecution) since Spring Batch 6.x

1 participant