Person:+delete timeouts on teams
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Triaged
|
High
|
Unassigned |
Bug Description
https:/
https:/
DB id: 237586
Branch: launchpad-
Revno: 9777
SQL time: 18582 ms
Non-sql time: 640 ms
Total time: 19222 ms
Statement Count: 695
1 15002.0 1 SQL-launchpad-
2 587.0 1 SQL-launchpad-
There's obviously another 3 seconds of hundreds of choppy sql queries, but the 15 second one is the primary culprit; other oopses may hint whether thats consistently a problem.
affects: | launchpad → launchpad-registry |
Changed in launchpad-registry: | |
importance: | Undecided → High |
status: | New → Triaged |
summary: |
- Unable to delete the ~ubuntu-universe-sponsors team + Person:+delete timeouts on teams |
description: | updated |
tags: | added: timeout |
# select count(*) from bugnotification recipientarchiv e where person=6213;
-[ RECORD 1 ]-
count | 112647
# select count(*) from bugnotification recipientarchiv e where person=754157;
-[ RECORD 1 ]
count | 24856
# select count(*) from bugnotification recipientarchiv e;
-[ RECORD 1 ]---
count | 58548792
I'd say it is slow because it is trying to update a huge number of rows. Like person merge, this is going to have to be done asynchronously.