update-database-stats.py explodes on production
Bug #588673 reported by
Stuart Bishop
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Stuart Bishop |
Bug Description
The pg_stat_user_tables view may contain NULLs in the bigint columns, and the script doesn't cope. They need to be converted to 0s.
Related branches
lp://qastaging/~stub/launchpad/db-stats
- Stuart Bishop (community): Approve
-
Diff: 50 lines (+7/-5)1 file modifiedutilities/report-database-stats.py (+7/-5)
- Robert Collins (community): Approve
- Jelmer Vernooij (community): Abstain
-
Diff: 175 lines (+78/-22)2 files modifiedlib/lp/scripts/helpers.py (+2/-1)
utilities/report-database-stats.py (+76/-21)
Changed in launchpad-foundations: | |
status: | New → Triaged |
importance: | Undecided → High |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad-foundations: | |
status: | Fix Committed → Fix Released |
tags: |
added: qa-ok removed: qa-needstesting |
To post a comment you must log in.
Fixed in db-stable r9433 <http:// bazaar. launchpad. net/~launchpad- pqm/launchpad/ db-stable/ revision/ 9433>