Skip to content

Commit 5ba71a8

Browse files
committed
chore(deletions): Remove another option
This removes the option which was added ##102612 and more changes were added in #102864.
1 parent cfca151 commit 5ba71a8

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

src/sentry/deletions/defaults/group.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -349,8 +349,7 @@ def delete_group_hashes(
349349
# 2. Delete the GroupHashMetadata rows entirely (they'll be deleted anyway)
350350
# If we update the columns first, the deletion of the grouphash metadata rows will have less work to do,
351351
# thus, improving the performance of the deletion.
352-
if options.get("deletions.group-hashes-metadata.update-seer-matched-grouphash-ids"):
353-
update_group_hash_metadata_in_batches(hash_ids)
352+
update_group_hash_metadata_in_batches(hash_ids)
354353
GroupHashMetadata.objects.filter(grouphash_id__in=hash_ids).delete()
355354
GroupHash.objects.filter(id__in=hash_ids).delete()
356355

src/sentry/options/defaults.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -348,12 +348,6 @@
348348
type=Int,
349349
flags=FLAG_AUTOMATOR_MODIFIABLE,
350350
)
351-
register(
352-
"deletions.group-hashes-metadata.update-seer-matched-grouphash-ids",
353-
default=False,
354-
type=Bool,
355-
flags=FLAG_AUTOMATOR_MODIFIABLE,
356-
)
357351
register(
358352
"deletions.activity.delete-in-bulk",
359353
default=False,

0 commit comments

Comments
 (0)