Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mysql_replication: replace Is_Slave and Is_Master returned value with Is_Replica and Is_Primary in community.mysql 3.0.0, replace master in messages with primary #145

Closed
Andersson007 opened this issue Apr 14, 2021 · 3 comments

Comments

@Andersson007
Copy link
Collaborator

Andersson007 commented Apr 14, 2021

SUMMARY

mysql_replication: replace Is_Slave and Is_Master return value with Is_Replica and Is_Primary in community.mysql 3.0.0
mysql_replication: replace the word master in messages with primary

Announced in #144

  1. Add alternatives for master* state values similarly to mysql_replication: deprecation of slave related options, adding alternatives #97

  2. Add alternative ret values for Is_Slave and Is_Master - done in mysql_replication: add deprecation warning about future replacement of Is_Slave and Is_Master return values, add alternatives #147

  3. Add "Warning" when state is getreplica / getslave and getmaster / getprimary - done in mysql_replication: add deprecation warning about future replacement of Is_Slave and Is_Master return values, add alternatives #147

@Andersson007 Andersson007 changed the title mysql_replication: replace Is_Slave returned value with Is_Replica in community.mysql 3.0.0 mysql_replication: replace Is_Slave and Is_Master returned value with Is_Replica and Is_Primary in community.mysql 3.0.0, replace master in messages with primary Apr 14, 2021
@Andersson007
Copy link
Collaborator Author

#147

@Andersson007
Copy link
Collaborator Author

closed via #252

@nerijus
Copy link

nerijus commented Apr 14, 2022

Now it does not work with mariadb versions <10.5, for example, 10.4.
If I use slave_pos:

value of primary_use_gtid must be one of: current_pos, replica_pos, disabled, got: slave_pos

If I use replica_pos:

(1064, "You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'replica_pos' at line 1")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants