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)

defect

Tracking

(Not tracked)

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.
Depends on: 1242038
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.