-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(backend): remove eventIds array from crash + anr groups
closes #1027 Crash and ANR groups have a list of event ids associated with them which are stored as an array in the 'event_ids' column in postgres. Postgres fields have a limit of 1GB and this list can get quite large in high scale environments. To improve this situation, this commit: 1. Removes the event_ids column from postgres 2. Fetches event ids of crash + anr groups from clickhouse based on the event's fingeprint 3. Updates the ingest algorithm to no longer append event_ids to crash & anr groups and only update updated_at and first_seen_event timestamps 4. Updates the cleanup service to no longer delete event_ids from postgres on stale event cleanup
- Loading branch information
1 parent
8af97ac
commit f812b02
Showing
6 changed files
with
329 additions
and
166 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.