[MDEV-32730] Create server on master node is not replicate to slave Created: 2023-11-08 Updated: 2023-11-14 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Replication, Server |
| Affects Version/s: | 10.4, 10.5, 10.6, 10.11, 11.0, 11.1, 11.2 |
| Fix Version/s: | 10.5, 10.6, 10.11, 11.0, 11.1, 11.2 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Khamhak | Assignee: | Andrei Elkin |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||
| Description |
|
My steps:
|
| Comments |
| Comment by Daniel Black [ 2023-11-08 ] |
|
I'm not sure what made this receive specific attention however from documentation https://mariadb.com/kb/en/create-server/ "CREATE SERVER is not written to the binary log, irrespective of the binary log format being used" |
| Comment by Khamhak [ 2023-11-08 ] |
|
Hi Daniel Black |
| Comment by Daniel Black [ 2023-11-08 ] |
|
If its not written to the binary log it won't replicate. A small modification was added in 10.5.2 with commit, intentionally but I don't see why. Documentation change indicate it was there previously (I tested, it was in 10.4). I do follow your case that its important for all servers in a replication change to have the same SERVER definition. Unfortunately for the moment you will need to CREATE SERVER on all nodes. |
| Comment by Khamhak [ 2023-11-08 ] |
|
Thank you so much. |
| Comment by Sergei Golubchik [ 2023-11-09 ] |
|
Documentation contains the line
since November 2014. Replication appears to be disabled in the commit 36290c0923 with the explanation
|
| Comment by Daniel Black [ 2023-11-14 ] |
|
Spoke to monty, he's ok with this being changed, I assume non-GA version. |