Regression in handling of db access failures
|Reported by:||Steffen Hoffmann||Owned by:||Remy Blank|
|Severity:||normal||Keywords:||database read-only rollback|
More robust environment upgrades by using a new db connection for each upgrade participant.
In some situations a
.rollback() method is required for sane db handling even on read-only connections, but it has been removed in r10179.
This applies i.e. to the
environment_needs_upgrade() and blocks current th:wiki:TagsPlugin from initial db table creation. As pointed out by Remy only the removal of
.commit() is clearly satisfied for a read-only db connection, and
.rollback() should better be restored.