anassahmed / odoo_bucardo_replication

Multi-Master Replication Experiment On Odoo Using Bucardo
10 stars 5 forks source link

Clarification: How many2many tables are managed #1

Open omalbastin opened 6 years ago

omalbastin commented 6 years ago

Its not an issue. Just want to know how bucardo handles the many2many tables in odoo as those tables dont have a primary key.

anassahmed commented 6 years ago

Bucardo doesn't do anything special in this case, it'll record the SQL queries Odoo will do on these tables and try to re-execute them everywhere else; which may lead to a mess without a primary key IMHO.

At the end of the day, this was an experiment for anyone who wants to know if he can use Bucardo with Odoo.

I'm waiting for PostgreSQL to implement Multi-Master Logical Replication (with Transaction-based log that also includes CREATE queries), because installing a new module in odoo (or sometimes creating a new sequence) don't get replicated at all with Bucardo (This is called DDL replication).

mohamedmshokry commented 1 year ago

Hi,

Too late I know but though to leave my comment here for anyone passing by recently.