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

[RFE] Incremental download during initial installation #639

Open
smcv opened this issue Jan 3, 2017 · 2 comments
Open

[RFE] Incremental download during initial installation #639

smcv opened this issue Jan 3, 2017 · 2 comments
Labels

Comments

@smcv
Copy link
Contributor

smcv commented Jan 3, 2017

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=850042 requests the ability to resume interrupted downloads.

My understanding is that OSTree already does incremental downloads on a per-blob basis (a blob is either fully downloaded, or only partially downloaded and hence discarded) so perhaps this is really a request to keep partially-downloaded blobs, and resume on a smaller-than-file granularity?

(Or perhaps the delta format in archive-z2 repositories breaks the incremental property by either keeping or discarding entire deltas, in this case about 120M?)

@smcv
Copy link
Contributor Author

smcv commented Jan 3, 2017

(I'm forwarding this because it was reported to Debian, but I personally think this is of considerably lower priority than making the current non-incremental downloads more reliable, e.g. #605.)

@cgwalters
Copy link
Member

The libsoup code does do range requests. We do cache intermediate downloaded individual object blobs, as well as delta parts. Remember the delta generator by default chunks by 32MB, to avoid redownloading everything when faced with servers that don't do range requests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants