Registry migrate process lock in PostgreSQL
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
I started the registry on an empty db (sqlalchemy connector: postgresql+
2011-07-01 17:09:24 INFO [migrate.
2011-07-01 17:09:24 INFO [sqlalchemy.
FROM images LEFT OUTER JOIN image_properties ON images.id = image_propertie
WHERE image_propertie
2011-07-01 17:09:24 INFO [sqlalchemy.
2011-07-01 17:09:24 DEBUG [sqlalchemy.
2011-07-01 17:09:24 INFO [sqlalchemy.
ALTER TABLE images ADD disk_format VARCHAR(20)
2011-07-01 17:09:24 INFO [sqlalchemy.
If I look at the locks in the database, I can see that the "alter" is waiting on an AccessExclusiveLock for 'images'. There is an existing AccessShareLock on the table, I guess that's why the exclusive lock is not granted.
Hi Matthieu,
Sorry for the long delay in getting to this bug...
So, it seems to me that this is a bug in the upstream project (sqlalchemy- migrate) . Would it be possible to submit a bug report for that project?
http:// code.google. com/p/sqlalchem y-migrate/ issues/ list
Thanks!
-jay