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

Bug/no partial files - fixes #36 #71

Merged
merged 4 commits into from
Aug 22, 2019
Merged

Conversation

gregscullard
Copy link
Contributor

First downloads record, balance and event files to a .../tmp folder.
When download completes, file is moved to .../valid folder.

Also, original code skipped downloading signature files that already existed, I've removed that check such that partial downloads of signature files don't result in permanently truncated files.

No need to first download signatures into a /tmp folder, they are processed after download in the same thread/process as the downloading itself.

@gregscullard
Copy link
Contributor Author

Fixes #36

@gregscullard gregscullard changed the title Bug/no partial files Bug/no partial files - fixes #36 Aug 21, 2019
Copy link
Contributor

@mike-burrage-hedera mike-burrage-hedera left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I request some code consolidation (see comments). It may seem minor, but any time cut & paste code can be eliminated, it should be.

@gregscullard
Copy link
Contributor Author

I request some code consolidation (see comments). It may seem minor, but any time cut & paste code can be eliminated, it should be.

Consolidated where you suggested and more.

Copy link
Member

@steven-sheehy steven-sheehy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
I'll let Mike give final approval

@mike-burrage-hedera mike-burrage-hedera merged commit 8fb2c88 into master Aug 22, 2019
@steven-sheehy steven-sheehy deleted the bug/NoPartialFiles branch August 23, 2019 14:55
@steven-sheehy steven-sheehy added this to the 0.1.0 milestone Aug 27, 2019
@steven-sheehy steven-sheehy added bug Type: Something isn't working downloader Area: S3 downloader P1 labels Nov 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Type: Something isn't working downloader Area: S3 downloader P1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants