Closed Bug 1481925 Opened 8 years ago Closed 7 years ago

change ProductRewrite rule to not touch raw_crash

Categories

(Socorro :: Processor, task, P2)

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: willkg, Unassigned)

Details

The ProductRewrite rule in the processor stomps on the ProductName value in the raw crash. That sucks because if we think about the raw crash as "this is what the client sent us", then we go and stomp on it, we have no idea what the client actually sent us. It probably means setting the product in the processed crash and then making sure everything after processing uses the value in the processed crash and not the raw crash. This bug covers changing that.
Making this a P2 because this isn't good behavior and since it's the ProductName value, it'll make things difficult to deal with new products.
Priority: -- → P2
I have a new idea--let's just delete this. It'd solve bug #1189493 in the process. It removes code that requires historical knowledge. I floated some ideas to the socorro-dev list. I'll do something depending on that.
Maybe this should be rescoped to a bigger change. Stomping on the ProductName is annoying, but the bigger problem is that the processor is changing the raw crash data and saving it. Maybe we should rescope this to: 1. *never* change the raw crash data, and 2. *never* save the raw crash data back to AWS S3 Maybe we can rework crash storage to never stomp on raw crash data?
I was doing soem ES stuff and discovered how we save documents and any changes here will have HUGE ramifications to ES crash storage. So we should figure that out before we do anything here.

I think we don't need to do anything here. Yes, there are processor transform rules that stomp on the raw crash data, but the raw crash data never gets saved over the original in S3. So it's not the case that we're stomping on what the client originally sent us.

Marking this as INVALID.

Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.