Closed Bug 574390 Opened 16 years ago Closed 14 years ago

HBase table crash_reports_index_hang_id should record *all* uuids associated with a hang

Categories

(Socorro :: General, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: dre, Assigned: dre)

References

Details

Currently this index table will only record the last collected instance of the different process types (i.e. default or plugin) for a given hang id. We should change it to store all of them. There are two ways we could do so: 1. versioning. We could alter the table to tell it to record N versions of the values. This would be best if we decide that duplicate ooids might be interesting but are not a completely legitimate occurance. i.e. if they really are supposed to be hang *pairs*. Upsides: this is an easy schema change; it protects us from *massive* amounts of duplicates bloating the index size; and the data retrieval looks much more clean. Downside: is that if we receive more than N duplicate reports, the earliest ones will drop out of the index. 2. datestamping. Currently we use the column name of "ids:ooid:<process_type>". We could change this to be something like "ids:ooid:<process_type>:<timestamp>". Then we would record each instance of a duplicate plugin report that has a different submission timestamp. Upsides: record all data; no schema change necessary, only client code. Downsides: Possible index bloat from massive amounts of duplicates; slightly harder to retrieve the data (have to parse through the multiple columns) Thoughts?
Assignee: nobody → deinspanjer
Target Milestone: 1.8 → 1.9
Daniel, still wanted?
Target Milestone: 1.9 → ---
Much less important with the implementation of ES. We can use ES searches to pull up these various associated hang crashes by their common hang id. I'm fine with won't fixing it and eventually having a new bug opened on the webapp site to implement said functionality when desired.
Component: Socorro → General
Product: Webtools → Socorro
OK, wontfix as requested
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.