Releases: camptocamp/marabunta
Releases · camptocamp/marabunta
0.6.2
Bugfixes
- Autocommit the operations done in the marabunta_version table. Previously,
after an exception, the changes to marabunta_version were rollbacked, which
is not the expected behavior (it makes the migration restart ceaseless).
As a side effect, Marabunta now opens 2 connections. The connection opened
for the adsivory lock cannot commit before the end because it would release
the lock.
0.6.1
0.6.0
Improvements
- Rework of the database connections:
- The advisory lock is acquired in a cursor in a thread, this cursor
periodically executes a dummy 'SELECT 1' to be sure that the connection
stay alive (not killed with a timeout) when a long-running subprocess is
run. - The operations in database are executed in short-lived cursors. This
prevents an issue we had when the open cursor was locking
'ir_module_module', preventing odoo to install/update properly.
- The advisory lock is acquired in a cursor in a thread, this cursor
- Try to disable colors in output if the term does not support colors