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

Reload job graph #5

Open
reynoldsbd opened this issue Oct 17, 2020 · 0 comments
Open

Reload job graph #5

reynoldsbd opened this issue Oct 17, 2020 · 0 comments

Comments

@reynoldsbd
Copy link
Owner

It is possible for a job to have side effects which necessitate reloading the entire job graph. Add a new Outcome::Reload variant (see #4) representing this scenario.

When a job returns the reload outcome, stop executing jobs and load a new Schedule based on the originally submitted job. Then restart execution.

As an optimization, it would be interesting if we could somehow preserve the state of the old (pre-reload) schedule and map it onto the new reloaded schedule. Intent of this would be to prevent unnecessary/duplicate execution of jobs after a reload.

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

No branches or pull requests

1 participant