Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update executions in status 'running' at start-up #90

Closed
wants to merge 2 commits into from

Conversation

palto42
Copy link

@palto42 palto42 commented Jul 4, 2020

This PR fixes the issue raised in #86.
At start-up the executions in the database are searched for entries in state "scheduled", "running", or "stopping" which are assumed to be left-overs caused by previously interrupted ndscheduler.
The status of this entries is set to "failed" and the result is set to { "error": "interrupted"}.

@palto42 palto42 mentioned this pull request Jul 4, 2020
pingali added a commit to pingali/ndscheduler that referenced this pull request Jan 27, 2021
pingali added a commit to pingali/ndscheduler that referenced this pull request Jan 27, 2021
@palto42 palto42 closed this May 2, 2021
@palto42 palto42 deleted the clean_db branch May 2, 2021 12:10
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.

None yet

1 participant