[MDEV-15839] replicate-filter for a connection name with a dot Created: 2018-04-10  Updated: 2023-04-27

Status: Stalled
Project: MariaDB Server
Component/s: Configuration, Replication
Affects Version/s: 10.1, 10.2
Fix Version/s: 10.4

Type: Bug Priority: Major
Reporter: Anton Avramov Assignee: Andrei Elkin
Resolution: Unresolved Votes: 0
Labels: None


 Description   

In a multi-source replications I have many connection_name's with a dot in the name.
For example public.repl

Now I what to set a replicate-filter like replicate_wild_do_table.
While I have no problem creating the filter using the client and setting

set default_master_connection = 'public.repl'

I cannot set it using .cnf file.
So I have to manually set it on each restart.

I've tried using:

public_repl.replicate_wild_do_table
public-repl.replicate_wild_do_table

and even

public@002erepl.replicate_wild_do_table

following the binary files name convention.



 Comments   
Comment by Elena Stepanova [ 2018-05-30 ]

I'll leave it to Elkin to decide whether it's worth fixing or it should be moved to documentation to be added to the limitation section of multi-source replication.

Comment by Sachin Setiya (Inactive) [ 2018-12-19 ]

bb-10.1-15839

Comment by Andrei Elkin [ 2018-12-21 ]

To the patch comments and commit message, consider my notes.

Btw this means that all but the last '.' are part of the name. The last period is a struct connector.
Maybe it's worth to say that too in the comments.
@sachin: while it looks fine for me, someone from the general server should have a look - maybe Bar is enough. What bothers me a bit is whether it's better to indicate those part-of-the-name '.' with \.? Not-slashed one would be indeed the option struct connector.

Generated at Thu Feb 08 08:24:25 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.