Open
Bug 1262938
Opened 8 years ago
Updated 7 years ago
reference_data_signature table should have a unique index on ``signature``
Categories
(Tree Management :: Treeherder: Data Ingestion, defect, P3)
Tree Management
Treeherder: Data Ingestion
Tracking
(Not tracked)
NEW
People
(Reporter: camd, Unassigned)
References
Details
Parts of our code make the assumption that the job signature is unique for a job with certain attributes. But that hasn't always been the case. Bug 1242038 makes this true going forward. But until that's pushed to production, we will continue to have duplicate signatures in that table. Once that's been pushed out, we should scrub that table and delete all but the latest signature entry for each signature so that the field is unique. Then we should create a unique index on that field to ensure it stays that way going forward.
Comment 1•8 years ago
|
||
When this is done, it would be nice to turn this statement from a filter to a get: https://github.com/mozilla/treeherder/blob/464c82754ed947e7f5f4216027f2eb121ddd2e19/treeherder/model/derived/artifacts.py#L118
Updated•7 years ago
|
Priority: -- → P3
You need to log in
before you can comment on or make changes to this bug.
Description
•