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

Append before checking option #19

Open
Evengard opened this issue Apr 2, 2022 · 0 comments
Open

Append before checking option #19

Evengard opened this issue Apr 2, 2022 · 0 comments

Comments

@Evengard
Copy link

Evengard commented Apr 2, 2022

This is another take on the problem possibly solvable by #15 .

It would be nice that if diskrsync had an option (eg --append-before-checking), which would implement this behaviour:

If diskrsync detects that the source file is bigger than the target file - first of all append all "missing" data to the target file until their sizes match, and only then do the checksum sweep and downloading all the mismatching blocks. This would make it a lot easier for resuming broken uploads without the need to check for all data when we know that the file size doesn't match yet.

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

No branches or pull requests

1 participant