Server is slow with parent_store=True and if we integrate 4000 lines

Bug #553819 reported by Stephane Wirtel (OpenERP)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Fix Released
High
OpenERP's Framework R&D

Bug Description

If we have an object where the parent_store is True, we can have a slowdown.

Revision history for this message
Stephane Wirtel (OpenERP) (stephane-openerp) wrote :
Revision history for this message
Stephane Wirtel (OpenERP) (stephane-openerp) wrote :

from the stable version:

revno: 1989
committer: Christophe Simonis <email address hidden>
branch nick: server
timestamp: Thu 2010-02-25 16:13:44 +0100
message:
  [IMP] orm: allow import and record creation to defer the computation of parent_left/right
  [IMP] orm: do not update parent_left/right if the parent haven't been changed
modified:
  bin/osv/orm.py

Revision history for this message
Nhomar - Vauxoo (nhomar) wrote :

THis bug is ready commited?

I checked with a little rgrep with the text of the patch is ready, the question is if the method works fine ;-)

I will chage to fix-commited, in yo are not agree change it, please.

Changed in openobject-server:
status: New → Fix Committed
Revision history for this message
Olivier Dony (Odoo) (odo-openerp) wrote :

Thank you Nhomar, this has been ported to trunk a long time ago indeed, and is working fine. Closing the bug now.

Changed in openobject-server:
assignee: nobody → OpenERP's Framework R&D (openerp-dev-framework)
milestone: 6.0 → 6.0-rc2
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.