Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/sentry/deletions/defaults/group.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down
6 changes: 0 additions & 6 deletions src/sentry/options/defaults.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Loading