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 early-callback bug in jsftp #642

Merged
merged 3 commits into from
Oct 23, 2018
Merged

Fix early-callback bug in jsftp #642

merged 3 commits into from
Oct 23, 2018

Conversation

marchuffnagle
Copy link
Contributor

There is an issue in jsftp where it can invoke the callback before the file has been completely written to disk. Fixed that issue in a fork for that repo, issued a PR to the jsftp repo, and updated our code to use the forked version until the PR is pulled into the upstream jsftp repo.

jsftp issue
PR that fixes it

Fixes CUMULUS-969

t.is(output.filesCount, 2);
t.is(output.totalSize, 3952643);
}
catch (err) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Are we sure we won't need this anymore? This catch seems related to whether Localstack is up/down and not necessarily the FTP issue?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

If localstack is unavailable for some reason then that's an issue that we need to fix.

@marchuffnagle marchuffnagle merged commit 32c3565 into master Oct 23, 2018
@marchuffnagle marchuffnagle deleted the CUMULUS-969 branch October 23, 2018 16:51
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