getsentry / getsentry/sentry

Mark grouphashes seen, then delete unseen ones

Open
#81,134 0 comments 0 reactions 1 assignee Assigned to @lobsterkatie View on GitHub
Task
Dominant language
Python
Stars
44.8k
Forks
4.9k
Avg merge
22h 21m
Merged PRs (30d)
586

Description

Once we have a sense of the rate at which we see distinct grouphashes and are confident we can safely do this, apply the new-years-hanger effect to grouphashes:

- Run a migration to mark them all unseen (new status value)
- Each time we see one, mark it seen
- Wait 90 days
- Run another migration to delete any which haven't been seen

Once metadata is fully rolled out (and so we can distinguish newly-created hashes from old ones by the `date_added` value, or lack thereof), we might start by just deleting all older grouphashes missing a group.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.