[MDEV-31768] Alias MASTER_DEMOTE_TO_REPLICA for MASTER_DEMOTE_TO_SLAVE Created: 2023-07-24  Updated: 2024-02-08

Status: In Review
Project: MariaDB Server
Component/s: Replication
Affects Version/s: 10.10
Fix Version/s: 10.11

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


 Description   

Implement MASTER_DEMOTE_TO_REPLICA alias to the existing MASTER_DEMOTE_TO_SLAVE.



 Comments   
Comment by Kristian Nielsen [ 2023-07-25 ]

I hope you don't mean the part about deprecating the existing the use of "SLAVE", that's really not acceptable.

It's one thing that some people dislike some word, and a lot of extra code is added to the server. But it's very disrespectful to try to force such dislike on other people and make them spend extra effort to change their setup or handle deprecation warnings.

Does this idea of deprecating the use of "slave" in replication code come from somewhere?

- Kristian.

Comment by Andrei Elkin [ 2023-07-25 ]

knielsen, the most of the abolishment 'slave' aliasing has been done in MDEV-20601. So this one has to follow suit already via a consistency argument.

> Does this idea of deprecating the use of "slave" in replication code come from somewhere?
Yes, from there. It's all rooted by MDEV-18777. I love some of the users' comments!
But there's no actual plan to deprecate, thankfully! (Sorry for confusing you in the original version of this reply, I had not caught up on the development of 18777 discussion).

I wish I could rewind to that discussion to suggest as an alternative e.g a enterprise connector feature to re-write queries for supposedly historical justice minded DBA:s.

Comment by Brandon Nesterenko [ 2023-09-15 ]

Hey Elkin!

This is ready for review: PR 2760

Comment by Daniel Black [ 2024-02-08 ]

reminder ^

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