Skip to content

Commit a805d52

Browse files
armenzgAhmed-Labs
authored andcommitted
chore(deletions): Remove another option (#102896)
This removes the option which was added ##102612 and more changes were added in #102864.
1 parent 5de4abf commit a805d52

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
@@ -339,8 +339,7 @@ def delete_group_hashes(
339339
# 2. Delete the GroupHashMetadata rows entirely (they'll be deleted anyway)
340340
# If we update the columns first, the deletion of the grouphash metadata rows will have less work to do,
341341
# thus, improving the performance of the deletion.
342-
if options.get("deletions.group-hashes-metadata.update-seer-matched-grouphash-ids"):
343-
update_group_hash_metadata_in_batches(hash_ids)
342+
update_group_hash_metadata_in_batches(hash_ids)
344343
GroupHashMetadata.objects.filter(grouphash_id__in=hash_ids).delete()
345344
GroupHash.objects.filter(id__in=hash_ids).delete()
346345

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

358352
register(
359353
"cleanup.abort_execution",

0 commit comments

Comments
 (0)