[MDEV-10375] after set replicate_wild_do_table, binlog file could not update ? Created: 2016-07-14 Updated: 2016-07-19 Resolved: 2016-07-16 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Replication |
| Affects Version/s: | 10.1.14 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | sysdljr | Assignee: | Unassigned |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Environment: |
CentOS 6.7, MariaDB 10.1.14 |
||
| Description |
|
Hi, IF add replicate_wild_do_table='test01.%,mysql.%' in slave's my.cnf file and restart salve, replication normal, relay_log file could update, but log_bin file could not update. we test four machines, all have the problem . |
| Comments |
| Comment by Elena Stepanova [ 2016-07-15 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Please attach cnf files from master and slave and an example of a statement that gets replicated but does not show up in the binlog:
Thanks. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by sysdljr [ 2016-07-16 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
@Elena Stepanova , thank you quick reply. I use two test method for reference :
master and slave's binlog in attach file: master_01_mysql-bin.000002, slave_01_mysql-bin.000003 ------------------------------------------------------- on master:
on slave:
master and slave binlog in attach file: master_02_mysql-bin.000002, salve_02_mysql-bin.000003 master and slave's my.cnf in attach file: master_my.cnf ,slave_my.cnf | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2016-07-16 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
You are misusing the option. Please check documentation:
So, in your case it should be
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by sysdljr [ 2016-07-17 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Thank you. |