Skip to content

Conversation

@xeounxzxu
Copy link
Contributor

Problem

Solution

  • Move the compositeItemStream.update and JobRepository.updateExecutionContext calls out of the chunk-processing finally blocks and into doExecute, immediately after each successful transaction finishes. Now the state is persisted only when a chunk commits; when a chunk fails and the transaction rolls back, the execution
    context remains unchanged, preventing data loss on restart.

Signed-off-by: xeounxzxu <[email protected]>
@xeounxzxu
Copy link
Contributor Author

@fmbenhassine Can you check the PR?

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.

1 participant