OOPS when updating the details of a bug tracker with a large number of bug watches
Bug #447100 reported by
Graham Binns
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Gavin Panella |
Bug Description
When updating the details of the gnome-bugs bug tracker, which has some 13,000 watches against it, I get OOPS-1378EB433. This happens for debbugs, which has ~ 10,000 watches, too (OOPS-1378EC458).
The error raised in both cases is "ShortListTooBi
Related branches
lp:~allenap/launchpad/bugtracker-snapshot-bug-447100
Merged
into
lp:launchpad
- Данило Шеган (community): Disapprove (release-critical)
- Aaron Bentley (community): Approve
-
Diff: 63 lines (+20/-6)2 files modifiedlib/lp/bugs/interfaces/bugtracker.py (+6/-4)
lib/lp/bugs/tests/test_bugtracker.py (+14/-2)
Changed in malone: | |
milestone: | none → 3.1.11 |
Changed in malone: | |
assignee: | nobody → Graham Binns (gmb) |
Changed in malone: | |
milestone: | 3.1.11 → 3.1.12 |
Changed in malone: | |
assignee: | nobody → Gavin Panella (allenap) |
status: | Triaged → In Progress |
Changed in malone: | |
status: | Fix Committed → Fix Released |
Changed in launchpad-foundations: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
As far as we can tell, this is due to the fact that snapshot() takes a copy of all the properties of an object. In the case of a BugTracker, this includes all of its bug watches, and in the case of, say, Gnome Bugzilla, this means 13,000+ bug watches are getting copied.
This isn't something that we can fix for 3.1.12, so I'm unmilestoning and unassigining it. I'm also opening a Foundations task for it, because the Foundations team might be better placed to fix the problem than the bug team.