[MDEV-17588] replicate-do filters cause errors when creating filtered-out tables on master with syntax unsupported on slave Created: 2018-10-31 Updated: 2020-08-25 Resolved: 2019-07-10 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Replication |
| Affects Version/s: | 5.5, 10.0, 10.1, 10.2.14, 10.2.17, 10.2.18, 10.3.10, 10.2, 10.3, 10.4 |
| Fix Version/s: | 10.2.26, 10.1.41, 10.3.17, 10.4.7 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Juan | Assignee: | Sachin Setiya (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | replication, upstream | ||
| Issue Links: |
|
||||||||||||||||||||||||
| Description |
|
When the spider engine is installed on the master but not on the slave, and replication is filtered with replicate-do-table, DDL on tables excluded by the filter will cause a replication error, so:
|
| Comments |
| Comment by Juan [ 2018-10-31 ] | ||||||||||||||||||||
|
Tested on 10.2.17 master w 10.2.14 slave per customer set-up as well as with 10.2.18 master & slave and 10.3.10 master & slave. | ||||||||||||||||||||
| Comment by Elena Stepanova [ 2018-11-01 ] | ||||||||||||||||||||
|
Reproducible on all of MariaDB 5.5-10.4 and on MySQL 5.7 (I didn't try other MySQL versions). Strangely, this use case doesn't seem to be covered even by the extensive section about replication rules in MySQL manual, so I'm not sure if it's the intended behavior, passing it to Elkin for an expert opinion. If it works as designed, please re-target it as Documentation and re-assign to writers. Test case to demonstrate the problem on MariaDB, run with
| ||||||||||||||||||||
| Comment by Sachin Setiya (Inactive) [ 2019-01-17 ] | ||||||||||||||||||||
|
Hi elenst This trial patch fixes the issue
| ||||||||||||||||||||
| Comment by Sachin Setiya (Inactive) [ 2019-04-23 ] | ||||||||||||||||||||
|
http://lists.askmonty.org/pipermail/commits/2019-April/013670.html | ||||||||||||||||||||
| Comment by Andrei Elkin [ 2019-04-25 ] | ||||||||||||||||||||
|
Review comments are sent out. | ||||||||||||||||||||
| Comment by Andrei Elkin [ 2019-05-17 ] | ||||||||||||||||||||
|
A poc patch was reviewed to approve the direction. The final one should be checked with | ||||||||||||||||||||
| Comment by Sachin Setiya (Inactive) [ 2019-05-27 ] | ||||||||||||||||||||
|
http://lists.askmonty.org/pipermail/commits/2019-May/013807.html (Still in prototype phase ) | ||||||||||||||||||||
| Comment by Sergey Vojtovich [ 2019-05-29 ] | ||||||||||||||||||||
|
Please discuss further directions with Andrei. |