Librarian file scanning too slow
Bug #415233 reported by
Stuart Bishop
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Medium
|
Stuart Bishop |
Bug Description
The final stage of the Librarian scans for files that have been removed from disk but shouldn't have been. This is going far too slow. We should be able to speed it up by a few orders of magnitude by using os.listdir to find files on disk rather than os.path.exists() for each potential path.
Once this is addressed, librarian-gc.py on staging should be reenabled without the --skip-files option.
Changed in launchpad-foundations: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in launchpad-foundations: | |
assignee: | nobody → Stuart Bishop (stub) |
milestone: | none → 3.0 |
status: | Triaged → In Progress |
Changed in launchpad-foundations: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fixed in devel r9223.