Contributors mailing list archives

contributors@odoo-community.org

Avatar

Re: Travis logs full of "INFO openerp_test odoo.schema: Keep unexpected index"

by
elego Software Solutions GmbH, Olaf Wagner
- 22/08/2021 18:16:34
On 22 Aug 2021, at 18:52, Raphaël Valyi wrote:


> Hello contributors,

> since 2 or 3 days ago max, on several OCA 12.0 builds one can see logs 

> full of "Keep unexpected index" log messages such as:

> 2021-08-22 13:29:16,607 7203  INFO  openerp_template odoo.schema: Keep 

> unexpected index ir_model_data_date_update_index on table 

> ir_model_data   1024 2021-08-22 13:29:16,607 7203  INFO  

> openerp_template odoo.schema: Keep unexpected index 

> ir_model_data_date_init_index on table ir_model_data   1025 2021-08-22 

> 13:29:16,608 7203  INFO  openerp_template odoo.schema: Keep unexpected 

> index ir_model_data_create_uid_index on table ir_model_data   1026 

> 2021-08-22 13:29:16,608 7203  INFO  openerp_template odoo.schema: Keep 

> unexpected index ir_model_data_create_date_index on table 

> ir_model_data   1027 2021-08-22 13:29:16,608 7203  INFO  

> openerp_template odoo.schema: Keep unexpected index 

> ir_model_data_write_uid_index on table ir_model_data   1028 2021-08-22 

> 13:29:16,608 7203  INFO  openerp_template odoo.schema: Keep unexpected 

> index ir_model_data_write_date_index on table ir_model_data

It’s from this change in the ORM:
- 
https://github.com/odoo/odoo/commit/13f02a60c8706b808a57535ac9648a1b0c0741a9
- 
https://github.com/odoo/odoo/commit/b4647cbf1e483bcc42ff9962851f94c751e5eebb

Must have been merged recently.

I’ve encountered it in 13.0 and have disabled it locally as it was 
spamming our
logs, too.

Olaf

-- 
Olaf Wagner -- elego Software Solutions GmbH -- http://www.elegosoft.com
                Gustav-Meyer-Allee 25 / Gebäude 12, 13355 Berlin, 
Germany
Geschäftsführer: Olaf Wagner | Sitz: Berlin
Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: 
DE163214194

Reference