Tryton - Issues

 

Issue8014

Title Add delay on retrying after OperationalError
Priority feature Status resolved
Superseder Nosy List ced, reviewbot, roundup-bot, yangoon
Type feature request Components trytond
Assigned To ced Keywords review
Reviews 50701002
View: 50701002

Created on 2019-01-19.11:06:08 by ced, last changed by roundup-bot.

Messages
New changeset 31e25d39163c by Cédric Krier in branch 'default':
Add increasing delay on OperationalError
https://hg.tryton.org/tryton-env/rev/31e25d39163c
New changeset 9c2b17ecf341 by Cédric Krier in branch 'default':
Add increasing delay on OperationalError
https://hg.tryton.org/trytond/rev/9c2b17ecf341
review50701002 updated at https://codereview.tryton.org/50701002/#ps20002
review50701002 updated at https://codereview.tryton.org/50701002/#ps20001
review50701002 updated at https://codereview.tryton.org/50701002/#ps1
msg46085 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2019-01-19.11:06:07
I found when testing issue8012 that retrying directly on OperationError (lock with no wait) is too fast and fails on the 5 retries.
I think we should add an increasing delay but it should not retain a DB connection.
History
Date User Action Args
2019-02-04 22:23:35roundup-botsetmessages: + msg46729
2019-02-04 22:23:29roundup-botsetstatus: testing -> resolved
nosy: + roundup-bot
messages: + msg46728
2019-01-19 14:33:25yangoonsetnosy: + yangoon
2019-01-19 13:12:10reviewbotsetmessages: + msg46093
2019-01-19 12:09:01reviewbotsetmessages: + msg46092
2019-01-19 11:42:27reviewbotsetnosy: + reviewbot
messages: + msg46087
2019-01-19 11:10:51cedsetstatus: in-progress -> testing
reviews: 50701002
keyword: + review
2019-01-19 11:06:08cedcreate

Showing 10 items. Show all history (warning: this could be VERY long)