misc/migration/3.8.3_common.py
author Julien Cristau <julien.cristau@logilab.fr>
Mon, 28 Apr 2014 12:54:14 +0200
changeset 9707 4a23058e4d9f
parent 5589 25bf54dab82b
permissions -rw-r--r--
[server/session] add missing rollback when freeing a db connection When we let go of a cnxset and give it back to the pool, we need to make sure it's not in the middle of a transaction. We got bitten by a migration where the connection used by admin's repo.connect was not rolled back before attempting the migration, causing a deadlock because it had a lock on a table. This could potentially also be an issue for e.g. hooks or looping tasks that didn't explicitly rollback before calling free_cnxset or moving out of a ensure_cnx_set block.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5580
3e9e6dd54ebb [migration] add migration file commands to follow option group changes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
     1
option_group_changed('port', 'main', 'web')
3e9e6dd54ebb [migration] add migration file commands to follow option group changes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
     2
option_group_changed('query-log-file', 'main', 'web')
3e9e6dd54ebb [migration] add migration file commands to follow option group changes
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
     3
option_group_changed('profile', 'main', 'web')
5589
25bf54dab82b [migration] force 3.8.3 migration, and fix it (same_as not necessarily there, missing group change for max-post-length)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5580
diff changeset
     4
option_group_changed('max-post-length', 'main', 'web')