Commit 2a2afa2
authored
fix(aci): Fix QuerySubscription deletion (#103398)
We have logic to ensure that SnubaQuery deletions are triggered by
QuerySubscription deletion only if the SnubaQuery isn't used by
AlertRules or other QuerySubscriptions.
This changes it to not exclude snapshot AlertRules, as those can still
point to a SnubaQuery and fail attempts to delete it.
Fixes [SENTRY-43RZ](https://sentry.sentry.io/issues/6711913108/).1 parent ae19b87 commit 2a2afa2
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
| |||
0 commit comments