-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
To cancel a single job: - Verify the owner uid in advance, so that we don't need a join with mxq_group during a later update statement. The join during update doesn't work well with the triggers, which want to modify mxq_group. By avoiding this, we can later dispose the CANCELLING state which is also just a workaround. - Set job_cancelled to true for the job (don't mind job_status) job_status transitions will be done by following commits.
- Loading branch information
Showing
1 changed file
with
69 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters