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

Cron context fixes #560

Merged
merged 3 commits into from
Aug 27, 2020
Merged

Cron context fixes #560

merged 3 commits into from
Aug 27, 2020

Conversation

Lordshinjo
Copy link
Contributor

Fix the Cron context to only contain instant and runNow user:

  • Add schema evolution to create a cron_contexts table containing the contexts and convert the old values to new values
  • This also fixes job retries ignoring the retry strategy due to retries having a different context from the original execution (as they contained the retry number)

Also clean up some of the job <-> dag confusions in the code and rename Cron Dependency as (from, to) instead of (parent, child)

- Add schema evolution to create a cron_contexts table containing the
contexts and convert the old values to new values
- This also fixes job retries ignoring the retry strategy due to retries
having a different context from the original execution (as they
contained the retry number)
@dufrannea dufrannea merged commit 3cb321d into criteo:master Aug 27, 2020
yetanotherion pushed a commit to yetanotherion/cuttle that referenced this pull request Aug 31, 2020
* Fix time series executions view not updating (criteo#562)
* Cron context fixes (criteo#560)
@yetanotherion yetanotherion mentioned this pull request Aug 31, 2020
yetanotherion pushed a commit that referenced this pull request Aug 31, 2020
* Fix time series executions view not updating (#562)
* Cron context fixes (#560)
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.

2 participants