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

Properly cleanup and abort if rsync crashes #79

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

Conversation

greezybacon
Copy link
Collaborator

This patch causes bitpocket to crash nicely if rsync does not completely cleanly.

@raphyduck
Copy link

Looks good @greezybacon , I would also add it line 348 as it can happened there (I've had a very bad network these last few days).

@greezybacon
Copy link
Collaborator Author

@raphyduck just checking, but the check should be made around line 411, when the remote job is waited on, correct?

@raphyduck
Copy link

Not sure what it was before but I like what you did now

@greezybacon
Copy link
Collaborator Author

@raphyduck I've merged both this and the transaction PR into a branch in my repo, to-infinity-and-beyond. If you want to test them together, I'd welcome more feedback.

@raphyduck
Copy link

@greezybacon Thanks, I cloned the branch and will be testing over the next few days.

@raphyduck
Copy link

So far so good

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