Avoid re-downloading data files
Bug #1217098 reported by
Barry Warsaw
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu system image |
Fix Released
|
High
|
Barry Warsaw | ||
system-image (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
pmcgowan reports that if an update is found, and all the data files are downloaded (i.e. through 'prepare_
Related branches
Changed in ubuntu-system-image: | |
milestone: | none → 1.3 |
assignee: | nobody → Barry Warsaw (barry) |
importance: | Undecided → High |
status: | New → Triaged |
Changed in ubuntu-system-image: | |
milestone: | 1.3 → none |
Changed in ubuntu-system-image: | |
importance: | High → Medium |
Changed in ubuntu-system-image: | |
status: | Triaged → In Progress |
importance: | Medium → High |
milestone: | none → 2.0 |
Changed in ubuntu-system-image: | |
status: | In Progress → Fix Committed |
Changed in ubuntu-system-image: | |
status: | Fix Committed → Fix Released |
Changed in system-image (Ubuntu): | |
status: | New → Fix Committed |
Changed in system-image (Ubuntu): | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I think the way I'm going to handle this is like so:
When you re-check for an update, it will re-download everything up to the data files. E.g. it will look for a blacklist, update keyrings, grab the channels.json and index.json files, and re-calculate the upgrade path. If the data files in the winning upgrade path are already downloaded *and* their gpg signatures are still valid, then we can avoid downloading the data files again. We can download only the data files that are missing, or for those with broken signatures (which probably means corruption more than attack).