Librarian does not check upper limit on filesize
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Medium
|
Stuart Bishop |
Bug Description
We currently store the file size of Librarian files in the database using a normal PostgreSQL integer. This does not support files larger than 2GB. We should switch this column to bigint to support DVD images or huge source packages, such as discussed in https:/
The following log shows the exception while processing the upload:
http://
and the actual traceback is:
http://
which shows that "DataError: integer out of range" is raised because we're using PostgreSQL's (signed) 4byte integer to store the file size (max. 2147483648 bytes).
description: | updated |
affects: | soyuz → launchpad-foundations |
description: | updated |
Changed in launchpad-foundations: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
assignee: | nobody → Stuart Bishop (stub) |
milestone: | none → 10.01 |
Changed in launchpad-foundations: | |
status: | Confirmed → In Progress |
Changed in launchpad-foundations: | |
status: | In Progress → Fix Committed |
Changed in launchpad-foundations: | |
status: | Fix Committed → Fix Released |