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 the loader fail fast when a future result fails #89

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jcross-linkup
Copy link

Check all future results every minute. If any have failed, force
an executor shutdown and return false which causes a non-0 exit status.

Jonathon Smith and others added 2 commits March 2, 2018 19:31
The future result will be 0 when there is a fatal error.  Instead of
adding the 0 to the total rows loaded, return false which will cause
cassandra-loader to exit non-0 indicating a fatal error occurred.
Check all future results every minute.  If any have failed, force
an executor shutdown and return false which causes a non-0 exit status.
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.

1 participant