PostHog/posthog
Vedi su GitHubFeature Flag Hash Key Overrides table can grow out of control
Open
#16.885 aperta il 2 ago 2023
backlogbugfeature/feature-flagsgood first issueteam/feature-flagsteam/flags-platform
Metriche repository
- Star
- (16.704 star)
- Metriche merge PR
- (Merge medio 17h 29m) (995 PR mergiate in 30 g)
Descrizione
Bug description
The hashkeyoverrides table can grow seriously out of control because it keeps all rows for stale flags. We cascade delete, but since flags are soft deleted, this table doesn't clean itself up automatically, which makes it hard to keep the size manageable
Additional context
We should run a nightly/weekly job , or whenever a flag is deleted, to remove stale rows from this table.