[MDEV-6379] Allow ROW based replication to CONNECT engine tables Created: 2014-06-23 Updated: 2018-05-02 Resolved: 2018-05-02 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - Connect |
| Fix Version/s: | N/A |
| Type: | Task | Priority: | Minor |
| Reporter: | Richard Bensley | Assignee: | Olivier Bertrand |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Description |
|
The CONNECT engine allows for DML statements to be run on remote ODBC tables. But not with ROW based logging. This means, if you have a ROW based infrastructure you must have a relay server set up with binlog_format=STATEMENT and log_slave_updates=1, to replicate to a slave with CONNECT engine tables to an ODBC target. Here is an example, replicating data to the table called `totals`: Servers:
MariaDB Master DDL:
MariaDB Slave DDL:
PostgreSQL Schema:
This works! The postgresql server is receiving DML from a MariaDB master:
MariaDB Slave (CONNECT table):
PostgreSQL server:
When setting the master to ROW based, the MariaDB slave fails:
MariaDB slave error log:
|
| Comments |
| Comment by Richard Bensley [ 2014-06-23 ] |
|
Another quick DML demo with STATEMENT based logging to CONNECT engine ODBC tables: #INSERT PostgreSQL server:
PostgreSQL server:
MariaDB Slave: |
| Comment by Richard Bensley [ 2018-05-01 ] |
|
I think maybe this is way out of scope for CONNECT and MED? You may close if you wish. |
| Comment by Olivier Bertrand [ 2018-05-02 ] |
|
Dropped by reporter. |