[Buildbot] #2590: Use Alembic instead of SQLAlchemy-Migrate
Buildbot trac
trac at buildbot.net
Tue Oct 28 08:18:07 UTC 2014
#2590: Use Alembic instead of SQLAlchemy-Migrate
-------------------------+--------------------
Reporter: dustin | Owner:
Type: project-idea | Status: new
Priority: major | Milestone: 0.9.+
Version: | Resolution:
Keywords: database |
-------------------------+--------------------
Comment (by tardyp):
Indeed, there is also the multimaster issue, if we want to add the auto-
upgrade feature. As in multimaster mode, masters are likely to start
approximately at the same time. We must use a db backed mutex so that the
upgrade only happens in one master, and the other master must wait this
mutex before starting.
If one goes up to some crazy continuous deployment mode, this would mean
that several versions buildbot master might live at the same time,
attached to the same db. Not sure if this is something we need to support
right now, but I guess this is something worth to mention as a future
improvment.
Autoupgrade could be something configurable, but I tend to agree with
Dustin the problem looks simpler in a deployment devops script.
--
Ticket URL: <http://trac.buildbot.net/ticket/2590#comment:9>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
More information about the bugs
mailing list