Closed
Bug 1364933
Opened 9 years ago
Closed 9 years ago
Be more conservative when using json_dump in transform rules
Categories
(Socorro :: Backend, task)
Socorro
Backend
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: adrian, Assigned: adrian)
Details
Attachments
(1 file)
Since we started sending exceptions that happen during Rule execution to sentry, we have seen three KeyErrors that happen very regularly. Incidentally, it seems sending those exceptions makes the processor substantially slower. We should make sure those exceptions do not happen anymore.
Errors in sentry:
- https://sentry.prod.mozaws.net/operations/socorro-prod/issues/604395/
- https://sentry.prod.mozaws.net/operations/socorro-prod/issues/604396/
- https://sentry.prod.mozaws.net/operations/socorro-prod/issues/604397/
| Assignee | ||
Comment 1•9 years ago
|
||
Comment 2•9 years ago
|
||
Commit pushed to master at https://github.com/mozilla/socorro
https://github.com/mozilla/socorro/commit/3e61f2c9df2fe36b459a78539e902be61acf9d32
Fixes bug 1364933 - Made some Rules more conservative. (#3777)
* Fixes bug 1364933 - Made some Rules more conservative.
This fixes some exceptions that were very frequently occurring in the processor, and that we now see since we have added error reporting. I am fixing those 3 errors at once because they are very similar.
* Verify `modules` is a list or tuple before iterating.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Comment 3•9 years ago
|
||
I see that the KeyErrors that were happening on Sentry stage have ceased.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•