Converting a bug to a question took 6 minutes

Bug #305450 reported by Guilherme Salgado
10
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Medium
Curtis Hovey

Bug Description

As seen on OOPS-1069S404, it took more than 6 minutes of non-sql-time to process that form submission. Curtis suggested that time might be spent sending out emails -- it's done synchronously on that page, it seems.

That's certainly a corner case, as I don't expect a bug with a significant number of comments to be turned into a question, but it should be fixed nonetheless.

Recently: OOPS-1130A585

description: updated
Revision history for this message
Curtis Hovey (sinzui) wrote :

New infrastructure is needs to send question messages asynchronously.

Notifications could be suppressed during the conversion. Only the first message would be sent with an addition that the message was converted from a bug and how many additional messages were converted.

Changed in malone:
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Curtis Hovey (sinzui) wrote :

The problem code is in Question. Bugtask is just a victim.

Changed in launchpad-answers:
importance: Undecided → High
status: New → Triaged
Revision history for this message
Curtis Hovey (sinzui) wrote :

I believe the performance fix for question:+index indirectly improved bugtask:+createquestion. Neither appears on the edge oops reports since the fix landed. The core problem will probably reappear when Ubuntu gets more bug contacts or for bugs with many comments.

Revision history for this message
Curtis Hovey (sinzui) wrote :

This was fixed sometime ago.

Changed in malone:
assignee: nobody → Curtis Hovey (sinzui)
status: Triaged → Fix Released
Changed in launchpad-answers:
assignee: nobody → Curtis Hovey (sinzui)
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.