research way to introduce new fields in elasticsearch
Categories
(Socorro :: General, enhancement, P3)
Tracking
(Not tracked)
People
(Reporter: willkg, Unassigned)
References
Details
(Whiteboard: [cringe])
Attachments
(1 file)
| Reporter | ||
Comment 1•7 years ago
|
||
| Reporter | ||
Comment 2•7 years ago
|
||
Comment 3•7 years ago
|
||
| Reporter | ||
Comment 5•7 years ago
|
||
Bumping to P3--not going to do this any time soon.
| Reporter | ||
Comment 6•5 years ago
|
||
I made some changes to ES crash storage so it's a lot better at not saving data to indexes which have mappings that don't include those fields. So the consequences of adding new fields is much less problematic--we don't get the brokenness we used to have.
I'm going to mark this as WONTFIX.
Comment 7•1 year ago
•
|
||
I'm going to reopen this bug, as it came up again all these years later!
Edit: Quoting myself from my comment in Bug 1988674:
In order to have these older crash reports show up with these new fields in SuperSearch, we would need some kind of migration script to update all past indexes' mappings with the new fields. Then after such a migration, reprocessing old crashes would work as expected.
Updated•1 year ago
|
Updated•1 year ago
|
Comment 8•7 months ago
|
||
Got burned by this again on Bug 2007193; I added it to our shortlist of backlog tickets to fix hopefully this year sometime: https://mozilla-hub.atlassian.net/browse/CRINGE-61.
Comment 9•1 month ago
|
||
This is why we only create a new index once per week -- it's lazily created if it doesn't already exist each time a crash document is saved to Elasticsearch based on how we name the index, which uses this name "socorro%Y%W". Since the time %W is based on is date_processed and that's in UTC, this currently occurs at midnight UTC on Mondays.
Description
•