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

Fix spurious RsyncUpload failures #113

Merged
merged 3 commits into from
Mar 23, 2019
Merged

Conversation

tylerknott
Copy link
Contributor

This fixes issue #48 where an RsyncUpload task will appear to randomly fail leaving an empty directory and causing all retries to fail. The first commit (24c1bf3) is the main fix, ignoring spurious EINTR errors during I/O, with the other two commits attempting to improve the general robustness of error handling surrounding external process tasks.

This ocmmit is intended to make the ExternalProcess tasks more robust with respect to handling failures. As these tasks
represent an external process the only failure cases that really matter are those of the external process. Internal
Python errors that occur during the execution of the external process probably don't reflect the actual state of the
task/item so they should be ignored while the process continues to run.
@coveralls
Copy link

Coverage Status

Coverage increased (+0.08%) to 40.517% when pulling 80b74e9 on tylerknott:rsyncfix into 0f600d1 on ArchiveTeam:master.

@chfoo chfoo changed the base branch from master to development March 23, 2019 05:15
@chfoo chfoo merged commit f675acc into ArchiveTeam:development Mar 23, 2019
@chfoo chfoo added this to the version 0.10.3 milestone Mar 23, 2019
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.

None yet

3 participants