SHA256 checks fail with MemoryError
Bug #1898564 reported by
Laurent Sesquès
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Repository Cache Charm |
Fix Released
|
Medium
|
Unassigned |
Bug Description
This was reported in lp:1770049, but that one is more about silent fails and disks filling, not precisely MemoryError.
When verifying a distrib, the sha256 checksums for its files are computed using a 1G buffer:
https:/
On machines with not enough memory, this fails with MemoryError and breaks the sync.
We should significantly lower this value.
Related branches
lp:~sajoupa/ubuntu-repository-cache/layer-shrink-sha256-buffer
- Junien F: Approve
- Canonical IS Reviewers: Pending requested
-
Diff: 12 lines (+1/-1)1 file modifiedlib/ubuntu_repository_cache/metadata_sync.py (+1/-1)
Changed in ubuntu-repository-cache: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
status: | Confirmed → Fix Committed |
status: | Fix Committed → Fix Released |
To post a comment you must log in.