• Vincent Pelletier's avatar
    Use portal_ids (if available) to generate catalog uids. · fa9897db
    Vincent Pelletier authored
    This is done to allow removing AUTOINCREMENT property of catalog's uid column, which causes table-level locks on innodb, which badly impairs indexation speed especialy when using multiple indexation nodes. If AUTOINCREMENT is kept on catalog, the system keeps working but the table-level lock will still be held (unless you use MySQL 2.1.22 or higher, which is not advised since at the moment it's a development branch).
    
    
    git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16688 20353a03-c40f-0410-a6d1-a30d3c3de9de
    fa9897db
SQLCatalog.py 92 KB