Closed Bug 1178641 Opened 9 years ago Closed 7 years ago

Move away from the multi database architecture & use the Django ORM

Categories

(Tree Management :: Treeherder, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mdoglio, Unassigned)

References

(Blocks 1 open bug)

Details

We have recently talked about moving to a more standard database architecture, with a unified database containing both reference and job data. This includes:
- create orm classes for every db table.
- adapt the api to use the new unified db schema.
- convert all the JobsModel methods into a orm counterpart, potentially switching to raw sql where necessary.
Blocks: 1178227
After some coding on this I still think it's a good idea but we need to tackle the problem in a more incremental way. I'll mark some bugs as blockers to keep track of the progress on this.
Depends on: 1182455
Summary: investigate what it would take to move away from the multi database architecture → Move away from the multi database architecture & use the Django ORM
Priority: -- → P2
Depends on: 1192976
Depends on: 1196764
Depends on: 1239185
Depends on: 1258861
Depends on: 1231361
Depends on: 1218537
Depends on: 1265503
Depends on: 1266062
Depends on: 1270629
No longer depends on: 1218537
Depends on: 1273231
Depends on: 1281820
Depends on: 1299861
Depends on: 1301729
Depends on: 1301477
Depends on: 1306674
Blocks: 1312007
Depends on: 1312012
Hi wlach, what is your current timeline for this?
(In reply to Armen Zambrano [:armenzg] (EDT/UTC-4) from comment #3)
> Hi wlach, what is your current timeline for this?

I am hoping to have this mostly finished (pending reviews) within ~1 week. The largest piece of work is bug 1306674.
Blocks: 1306709
Depends on: 1329002
treeherder no longer uses datasource in any way \o/
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Blocks: 1330479
You need to log in before you can comment on or make changes to this bug.