Community: Framework mailing list archives

expert-framework@mail.odoo.com

Re: Cache / sync issue with workers and geven

by
Stefan Rijnhart
- 10/20/2016 15:12:35
On 10/20/2016 08:47 PM, Jared Kipe wrote:

I believe cache flushing is signaled through the database.

At least I see logs that would indicate that is the case.


Yes, you are right! Still, the database sequences that are used for that are not monitored when Odoo is not in multiuser mode, which is the case with Maxim's gevent process.

https://github.com/odoo/odoo/blob/10.0/odoo/modules/registry.py#L366



On Oct 20, 2016, at 10:22 AM, Stefan Rijnhart <stefan@opener.amsterdam> wrote:

On 10/20/2016 08:57 AM, Maxim Litnitskiy wrote:
> Thanks for your reply!
> Please see attached conf files of my deployment.
> And here is the diff

Do you call two separate processes manually? Odoo in multiworker mode
runs its own gevent process (or at least that is what it looks like when
I deploy with buildout). I am assuming that the interprocess
communication such as cache flushing goes through the parent, so that
might explain why your processes are out of sync if they don't share the
same parent.

Regards,
Stefan.


-- 
Opener B.V. - Business solutions driven by open source collaboration

Stefan Rijnhart - Consultant/developer

mail: stefan@opener.am
tel: +31 (0) 20 3090 139
web: https://opener.am

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-framework-62
Post to: mailto:expert-framework@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe


_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-framework-62
Post to: mailto:expert-framework@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe



-- 
Opener B.V. - Business solutions driven by open source collaboration

Stefan Rijnhart - Consultant/developer

mail: stefan@opener.am
tel: +31 (0) 20 3090 139
web: https://opener.am