diff --git a/src/sentry/deletions/defaults/group.py b/src/sentry/deletions/defaults/group.py index fdbe78228b28a1..4469d92214c902 100644 --- a/src/sentry/deletions/defaults/group.py +++ b/src/sentry/deletions/defaults/group.py @@ -339,8 +339,7 @@ def delete_group_hashes( # 2. Delete the GroupHashMetadata rows entirely (they'll be deleted anyway) # If we update the columns first, the deletion of the grouphash metadata rows will have less work to do, # thus, improving the performance of the deletion. - if options.get("deletions.group-hashes-metadata.update-seer-matched-grouphash-ids"): - update_group_hash_metadata_in_batches(hash_ids) + update_group_hash_metadata_in_batches(hash_ids) GroupHashMetadata.objects.filter(grouphash_id__in=hash_ids).delete() GroupHash.objects.filter(id__in=hash_ids).delete() diff --git a/src/sentry/options/defaults.py b/src/sentry/options/defaults.py index e5ce0b61780f23..d97ac137a893d3 100644 --- a/src/sentry/options/defaults.py +++ b/src/sentry/options/defaults.py @@ -348,12 +348,6 @@ type=Int, flags=FLAG_AUTOMATOR_MODIFIABLE, ) -register( - "deletions.group-hashes-metadata.update-seer-matched-grouphash-ids", - default=False, - type=Bool, - flags=FLAG_AUTOMATOR_MODIFIABLE, -) register( "cleanup.abort_execution",