lp:~fabien-morin/unifield-server/fm-us-919
- Get this branch:
- bzr branch lp:~fabien-morin/unifield-server/fm-us-919
Branch merges
- UniField Reviewer Team: Pending requested 2017-04-28
-
Diff: 71 lines (+20/-12)3 files modifiedbin/addons/sync_client/backup.py (+2/-0)
bin/addons/sync_client/sync_client.py (+10/-8)
bin/tools/misc.py (+8/-4)
Branch information
Recent revisions
- 4265. By Fabien MORIN on 2017-07-10
-
US-919 [IMP] return -1 only if outfile, else do nothing (previous behaviour).
[ADD] comment to explain what is wrong here - 4264. By Fabien MORIN on 2017-07-10
-
US-919 [IMP] as the sync_lock.release() should be always done, do it in the
finally. - 4262. By Fabien MORIN on 2017-06-15
-
US-919 [IMP] in case of exception return -1, this make possible to display an
error message in the synchronisation monitor and help the end user to
understand what is the problem. - 4261. By Fabien MORIN on 2017-06-15
-
US-919 [FIX] commit transaction whatever happen in the try not to leave open
transaction that will be a lock for futur dumps. - 4260. By Fabien MORIN on 2017-06-14
-
US-919 [FIX] protect everthing done before the sync_lock.release to do the
release() whatever happen.
In this case, because a transaction on ir_sequence was alreaded started and not
ended (lock), when sync.monitor try to create a new object (via getLogger) it
fail and logger is None. So logger.info.values( ) raise and that prevent to call
sync_lock.release() - 4259. By Fabien MORIN on 2017-06-14
-
US-919 [REV] revert previous commit as it is not the right solution
- 4256. By Fabien MORIN on 2017-02-27
-
US-919 [FIX] protect the FOR UPDATE NOWAIT as it may raise an error and leave
the connecion open.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:unifield-server