Bug 94613

Summary: Wrong download stat when resuming download if some previous delta parts are already downloaded
Product: xdg-app Reporter: Sébastien Wilmet <swilmet>
Component: GeneralAssignee: Alexander Larsson <alexl>
Status: RESOLVED NOTOURBUG QA Contact: Alexander Larsson <alexl>
Severity: minor    
Priority: medium    
Version: unspecified   
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Sébastien Wilmet 2016-03-18 13:34:22 UTC
See the following outputs:

$ xdg-app --user install gnome-nightly org.gnome.Sdk

Receiving delta parts: 10/17 484.2 kB/s 140.9 MB/315.2 MB
error: While pulling runtime/org.gnome.Sdk/x86_64/master from remote gnome-nightly: Socket I/O timed out

$ xdg-app --user install gnome-nightly org.gnome.Sdk

Receiving delta parts: 10/17 84.4 kB/s 3.2 MB/315.2 MB  
error: While pulling runtime/org.gnome.Sdk/x86_64/master from remote gnome-nightly: Error resolving 'sdk.gnome.org': No address associated with hostname

-----

So the first command has downloaded the first 9 delta parts successfully.
Then the second command resumes the download at part 10, but shows:

> 3.2 MB/315.2 MB

Which is wrong.

Yes, every details matters :)
Comment 1 Alexander Larsson 2016-03-18 15:07:32 UTC
This is really an ostree issue. Filed a bug there:
https://bugzilla.gnome.org/show_bug.cgi?id=763878

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.