[Buildbot] #3490: re-enable foreign keys for sqlite

Buildbot trac trac at buildbot.net
Thu Mar 17 10:32:58 UTC 2016

#3490: re-enable foreign keys for sqlite
Reporter:  tardyp       |      Owner:
    Type:  enhancement  |     Status:  new
Priority:  major        |  Milestone:  undecided
 Version:  master       |   Keywords:
 Some people reported issues since I enabled foreign keys in sqlite.

 symptom is that no build is scheduled anymore.

 rootcause is theat in scheduler/base.py getChangeClassifications() always
 return []

 I believe this might be because sqlite might FK prevent insertion of
 changes in scheduler/change table.

 I prefer to temporarily disable fk in order to unblock mainline, as I
 think this might be tricky to really fix

Ticket URL: <http://trac.buildbot.net/ticket/3490>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation

More information about the bugs mailing list