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

feat(client): fail fast when a chunk is missing #775

Merged
merged 1 commit into from Sep 27, 2023

Conversation

joshuef
Copy link
Contributor

@joshuef joshuef commented Sep 27, 2023

Description

Summary generated by Reviewpad on 27 Sep 23 09:22 UTC

This pull request adds a feature to the client where it fails fast when a chunk is missing. It includes changes to the sn_client/src/chunks/error.rs and sn_client/src/file_apis.rs files. Overall, the patch adds 26 insertions and removes 39 deletions. The changes include adding a new error variant for a missing chunk in the Error enum, modifying the Files struct to handle missing chunks and update progress, and handling missing chunks in the file download process.

@reviewpad reviewpad bot requested a review from maqi September 27, 2023 09:22
@reviewpad reviewpad bot added Small Pull request is small waiting-for-review labels Sep 27, 2023
Copy link
Member

@grumbach grumbach left a comment

Choose a reason for hiding this comment

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

LGTM

@joshuef joshuef added this pull request to the merge queue Sep 27, 2023
Merged via the queue into maidsafe:main with commit b54b7bf Sep 27, 2023
30 checks passed
@joshuef joshuef deleted the FastFailOnDls branch September 27, 2023 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Small Pull request is small
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants