Closed Bug 1314021 Opened 9 years ago Closed 9 years ago

move conditions to their own table

Categories

(Release Engineering Graveyard :: Applications: Balrog (backend), defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bhearsum, Assigned: bhearsum)

References

Details

Attachments

(1 file)

As part of the review for conditional scheduled changes, Johan came up with the idea of moving conditions to their own table. This cleans up the schema a bit by keeping the primary scheduled changes table focused on the future version of the thing, and putting the scheduling information elsewhere.
Attachment #8805929 - Flags: review?(nthomas)
Attachment #8805929 - Flags: review?(jlorenzo)
Comment on attachment 8805929 [details] [review] move conditions to their own table Looks good to me! More details in the PR.
Attachment #8805929 - Flags: review?(jlorenzo) → review+
Attachment #8805929 - Flags: review?(nthomas) → review+
Depends on: 1316112
I did a bad thing with the upgrade script for this - I made it incompatible with the old code. When we upgraded stage, we started getting tracebacks like https://sentry.prod.mozaws.net/operations/stage-admin/issues/366228/. Everything was fine once the new code was deployed, and since it's admin only, I'm not going to back out for this. In the future I need to be better at making sure any given upgrade script works with both the old and the new code, though. In the time between upgrading the prod db and upgrading the admin node to the new code, we will see these exceptions whenever the Balrog Agent makes a request, too.
In production. Thanks to Johan for this good idea!
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Product: Release Engineering → Release Engineering Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: