You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(deletions): Switch to bulk deletions for GroupHistory (#102580)
This is how it used to be before #76608. Now that we have fixed the
circular relationship (#102470) I believe we should give this approach
another attempt.
Fixes [SENTRY-5BX2](https://sentry.sentry.io/issues/6993998110/):
For posterity:
```
OperationalError
canceling statement due to user request
SQL: SELECT "sentry_grouphistory"."id" AS "id" FROM "sentry_grouphistory" WHERE "sentry_grouphistory"."group_id" = %s ORDER BY 1 ASC LIMIT 100
```
The group in question has only been seen 4 times yet it has 905,729 rows
of group history. This is caused by the priority of the group changing
back and forth between high and medium priority. We're investigating the
root cause of it.
0 commit comments