Fix the migration, so it deals with duplicate job uuids
AbandonedPublic

Authored by jskladan on Nov 24 2016, 4:42 PM.

Details

Summary

This is required to solve our state of database, where depchecks have
multiple jobs with the same uuid, and in the resultsdb 2.0 the uuid is
an unique identifier of the group.
This is done by merging the results of each "duplicate" job to the first
one with that specified uuid, and deleting the other (now result-less)
jobs.

Yield jobs per 100 and show progress logs

Test Plan

Tested the migration locally on engineered data

Diff Detail

Repository
rRSDB resultsdb
Branch
arcpatch-D1054 (branched from develop)
Lint
Lint WarningsExcuse: sadly, this is the way it is with alembic files...
Unit
No Unit Test Coverage
Build Status
Buildable 922
Build 922: arc lint + arc unit
jskladan retitled this revision from to Fix the migration, so it deals with duplicate job uuids.Nov 24 2016, 4:42 PM
jskladan updated this object.
jskladan edited the test plan for this revision. (Show Details)
jskladan added reviewers: ralph2, mkrizek, tflink.
jskladan added a project: resultsdb.
jskladan abandoned this revision.Nov 24 2016, 4:43 PM