[MDEV-17090] Hybrid replication replicate_ignore_table not working Created: 2018-08-29 Updated: 2018-08-29 Resolved: 2018-08-29 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Configuration, Replication |
| Affects Version/s: | 10.0.36, 10.3.9 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | ton wittenberg | Assignee: | Unassigned |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Debian 9 mariadb 10.3.9 |
||
| Description |
|
Hello, I think i kinda ran into a strange issue here could there be any reason that Replicate_Ignore_Table does not work when using row based replication? i noticed that in 10.0.36 and in 10.3.9 its not working when i slave from a master that uses row based replication however if i slave from a different master which uses statement based replication. then it works just fine. here is the proof: im in the proces of moving a single master(mariadb 10.0.15) to a multi node galera cluster(10.3.9) and the following happened: this is while replicating from the current master. everything is fine here:
but when i change to the new master(galera node) i get the following error:
i already have slave-skip-errors = all i just state that test.loginattempts should be ignored so why it fails on that one? the only difference i can think of is that the current master uses statement based replication. and the new master uses row based replication. i hope someone can clear this up cause i dont understand why this is happening. |
| Comments |
| Comment by Elena Stepanova [ 2018-08-29 ] |
|
Evaluating replication filtering rules is complicated. Yes, among other factors, it depends on the binlog format, and it's not obvious for either statement or row. It also depends on the correlation between table-level rules and database-level rules, which you also have, and which, in turn, can be quite confusing depending on the binlog format. We can't tell what's wrong with your setup based on the little information above, but you can, if you study the rules carefully. Judging by the "simply isn't working" complaint, you haven't yet done so, because nobody who has ever said that anything is simple there. You can use MySQL manual in addition to MariaDB KB. MySQL manual might contain more detailed and verbose explanation of how it works. If after studying the rules you find out that you need help with your setup, you might want to acquire a support contract. |