Re: Odoo Performance and concurrency locks

by

OpenERP Master

- 14/09/2015 02:04:38

By making this change you would be trying to put duct tape on it. Increasing the time between a tryout is not good because it will make your processes take longer. Increasing the amount of retries will do the same. This is an engineering problem and perhaps you may not be prepared to deal with the issue, but you should instead try to understand the root cause of the problem and address it.

What exactly are you doing that you are receiving this error message. Steps to reproduce? Are you using the same login for multiple computers? Are you using the administrator login as a regular user?

Thank you all for your responses. The transaction isolation mechanism provides some interesting insights. I will set up the patches mentioned to tackle the res users problem.

I managed to set the MAX_TRIES_ON_CONCURRENCY_FAILURE to a higher value, and have also increased the wait time to reduce the possibility of repeated concurrency locks. Could someone please comment if this is safe to do?

Please also let me know if there are any issues if I set a non-zero number of workers.