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

Make dep resource sync optional if it's already synced previously #17

Open
soichih opened this issue Mar 18, 2018 · 0 comments
Open

Make dep resource sync optional if it's already synced previously #17

soichih opened this issue Mar 18, 2018 · 0 comments

Comments

@soichih
Copy link
Contributor

soichih commented Mar 18, 2018

Currently, a task would fail to start up if any of the input resources are in non-OK status when it tries to sync inputs datasets even thouogh they are previously synced.

source resource status is non-ok .. will retry later

This is sad, because the task could be executed on active resource with previously synced input datasets and it's very rare that input datasets are modified.

To see if the input datasets are already synced, we can just look at dep.resource_ids, and if target resource id is listed there (the input dataset is already staged), make dataset syncing optional.

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