You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the DB write fails to update the job stats after execution is complete, the execution state may not get saved since it is modified in the same transaction.
separate the changes into two separate transactions
if job stat change fails, retry X times before skipping since it is not crucial
The text was updated successfully, but these errors were encountered:
* Update execution state from ExecutionJob as a separate service method
* then update job stats, retry X times if a failure, and give up
Execution should not appear "hung" if simple duration stat update fails
If the DB write fails to update the job stats after execution is complete, the execution state may not get saved since it is modified in the same transaction.
The text was updated successfully, but these errors were encountered: