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 some SDMF partial-read cases #177

Merged
merged 4 commits into from Jul 28, 2015
Merged

Conversation

warner
Copy link
Member

@warner warner commented Jul 28, 2015

This cleans up the mutable-retrieve code a bit, and should fix some corner cases where an offset/size combinations that reads the last byte of the file (but not the first) could cause an assert to fire, making the download hang. Should address ticket:2459 and ticket:2462.

daira and others added 4 commits July 28, 2015 10:13
…left). refs #2462

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This should tolerate offset/size combinations that read the last byte of
the file, something which was broken before. It quits early in the case
of zero-byte reads, to simplify the resulting "which segments do I need"
logic. Probably addresses ticket:2459.
@warner warner merged commit 89e9076 into tahoe-lafs:master Jul 28, 2015
@warner warner deleted the sdmf-partial-2 branch July 28, 2015 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants