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

pause running jobs on failed node if pauseTriggeredJobOnFailedNode flag set #176 #178

Closed
wants to merge 3 commits into from

Conversation

pavelkokush
Copy link

No description provided.


List<OperableTrigger> triggers = getTriggersForJob(conn, ftRec.getJobKey());
for (OperableTrigger trigger : triggers) {
pauseTrigger(conn, trigger.getKey());
Copy link

Choose a reason for hiding this comment

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

Should it catch exceptions and continue to try pausing the next trigger?

Copy link
Author

Choose a reason for hiding this comment

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

then it will be inconsistent state: some triggers paused, some not. Also then we will have same job running at same time on diff nodes. So better to rollback full transaction, as it now?

@jontejj
Copy link

jontejj commented Aug 9, 2017 via email

@zemian
Copy link
Contributor

zemian commented Feb 13, 2019

Hi, as I stated in your original issue #176, that this is currently working as expected that you might need additional config change. I will close this PR as invalid for now.

@zemian zemian closed this Feb 13, 2019
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.

3 participants