Closed Bug 1306674 Opened 8 years ago Closed 7 years ago

Store jobs and push data inside central database

Categories

(Tree Management :: Treeherder, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: wlach, Assigned: wlach)

References

Details

The last step of the django orm migration is to move the job and result set data into the central db.

Tentative plan:

1. Add/extend database models to cover result sets (let's rename to "pushes") and job metadata (we already have a table for jobs, we just need to extend it).
2. Refactor jobs model to ingest jobs and result sets serially
3. Start ingesting job and result set metadata in central db side-by-side with old data.
4. Switch API endpoints to return data from the central db instead of datasource
5. Turn off datasource ingestion

My expectation would be to deploy 3, 4, and 5 seperately though probably in fairly rapid succession (just need to be sure to give myself enough time to verify that things are working after each step)
Depends on: 1306844
Depends on: 1257602
Depends on: 1306707
What is the datasource ingestion? Is that not the logic to receive new BB and TC jobs?
Blocks: 1308166
(In reply to BACK ON TUESDAY - Armen Zambrano [:armenzg] (EDT/UTC-4) from comment #1)
> What is the datasource ingestion? Is that not the logic to receive new BB
> and TC jobs?

I was referring to the logic to put TC and BB job data into the per-project (as opposed to global) databases.
Depends on: 1308528
Depends on: 1311185
Depends on: 1318027
Depends on: 1318474
This became a meta-bug, which we can now close.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
No longer depends on: 1306844
No longer depends on: 1257602
You need to log in before you can comment on or make changes to this bug.