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

amiize: more carefully clean up resources before retries #804

Merged
merged 1 commit into from
Feb 28, 2020

Conversation

tjkirch
Copy link
Contributor

@tjkirch tjkirch commented Feb 28, 2020

This adds a cleanup step before each point where we retry the amiization from
scratch. It also adds cleanup of the root and data snapshot on failure, since
most of the time this wouldn't be used and would sit forever.


Fixes #755.

Testing done:

I ran it fully to see it succeed, then started inserting false commands before check_return calls to check the retry and cleanup behavior. I tried for a couple different single continue statements, and a couple different continue 2 for the loops. In each case it did the cleanup and retries correctly.

This adds a cleanup step before each point where we retry the amiization from
scratch.  It also adds cleanup of the root and data snapshot on failure, since
most of the time this wouldn't be used and would sit forever.
@tjkirch
Copy link
Contributor Author

tjkirch commented Feb 28, 2020

This push removes comments that no longer apply regarding resource cleanup problems. :)

@tjkirch tjkirch merged commit 72c3a5c into develop Feb 28, 2020
@tjkirch tjkirch deleted the amiize-cleanup branch February 28, 2020 17:24
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.

amiize.sh does not clean up all worker instances
4 participants