Skip to content
This repository was archived by the owner on Jan 15, 2022. It is now read-only.

COMMONS-586 (#429) #616

Merged
merged 1 commit into from
Jan 28, 2020
Merged

COMMONS-586 (#429) #616

merged 1 commit into from
Jan 28, 2020

Conversation

rdenarie
Copy link
Member

After 5.2.4->5.3.0 migration daily and weekly jobs are restarted at same time due to long time without execution.
The 2 jobs try to clean notifs and notif params without digest.
As we are clean digest in ResumeDigestJobupgradePlugin, there are a lot of row to delete, and job are in conflict and generate a transaction exception

This change add the notification clean up before resume the jobs, and after deleting digest if necessary.
So When Job are executed, they read tables, find no rows, and exited, without error.

After 5.2.4->5.3.0 migration daily and weekly jobs are restarted at same time due to long time without execution.
The 2 jobs try to clean notifs and notif params without digest.
As we are clean digest in ResumeDigestJobupgradePlugin, there are a lot of row to delete, and job are in conflict and generate a transaction exception

This change add the notification clean up before resume the jobs, and after deleting digest if necessary.
So When Job are executed, they read tables, find no rows, and exited, without error.
Copy link
Member

@ahamdi ahamdi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rdenarie rdenarie merged commit b3b7c4b into stable/5.3.x Jan 28, 2020
@rdenarie rdenarie deleted the fix/5.3.x/COMMONS-586 branch January 28, 2020 10:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants