[MDEV-8874] Replication filters configured in my.cnf are ignored if slave reset and reconfigured Created: 2015-09-30  Updated: 2019-08-05  Resolved: 2019-06-27

Status: Closed
Project: MariaDB Server
Component/s: Replication
Affects Version/s: 10.0, 10.1
Fix Version/s: 10.2.26, 10.1.41, 10.3.17, 10.4.7

Type: Bug Priority: Major
Reporter: Rick Pizzi Assignee: Sachin Setiya (Inactive)
Resolution: Fixed Votes: 1
Labels: multisource

Sprint: 10.1.22

 Description   

This MariaDB instance is using multi source replication and has 4 masters.
We have separate replication filters on each of the master connections, configured in my.cnf.
When we issue a RESET SLAVE ALL for one of the connections, where replication filters are in effect, and then we create the connection again with CHANGE MASTER 'connection name' TO.... , the replication filters are now ignored and we need to restart the server to bring them back in effect.



 Comments   
Comment by Elena Stepanova [ 2015-09-30 ]

Thanks for the report.

Only affects named slaves.

Comment by Lixun Peng [ 2017-03-06 ]

leopardus2
If we save the filter options, and you create a new connection but the host/port is different, do you consider that we should still keep the fitler options?

Comment by Andrei Elkin [ 2019-02-18 ]

ralf.gebhardt@mariadb.com, hallo! Sure I can substitute plinux to finish off reviewing. Let's first to hear his OK to that.

Cheers, Andrei.

Comment by Sachin Setiya (Inactive) [ 2019-06-06 ]

Hi Elkin, Patch is in commit list.

Comment by Andrei Elkin [ 2019-06-10 ]

Review notes are sent out.

Generated at Thu Feb 08 07:30:26 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.