-
Notifications
You must be signed in to change notification settings - Fork 997
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
Remove failover #931
Remove failover #931
Conversation
(Wait for another review) |
PTAL @atercattus |
Seems @atercattus is busy these days, I prefer we wait until Nov. 11 and merge this PR. Then I'll release a new version as other user requested. |
I'll merge this PR after CI passed. As for release, I want to wait until all active PRs are merged |
Note that Signal18 maintains a golang open source solution replication-manager for multiple topology on MariaDB and MySQL, battle tested on many use cases https://github.com/signal18/replication-manager/ |
You may want to send a PR to https://github.com/shlomi-noach/awesome-mysql?tab=readme-ov-file#ha to get this listed there. And maybe consider doing a talk about this at FOSDEM as well. |
Thanks, @lance6716. I believe you are doing a great job while I am overwhelmed with work :) If we remove functionality from this project, it is worth adding a link to alternative methods to our documentation. |
Thanks, i'll check if MySQL&Friends is back in FOSDEM this year if not should check with MariaDB for a session in their room hope to see you there and thanks again for go-mysql that we use in many cases in replication-manager like for tracking binlog for PITR |
The
failover
part of go-mysql does failover in case of the failure of a primary in a MySQL topology and it also refactors the topology by changing replication on hosts to make sure they follow the new primary.However there are various issues with this:
failover/doc.go
master
/slave
terms instead ofsource/primary
/replica
.SHOW MASTER...
,CHANGE MASTER...
,SHOW SLAVE...
)MariadbGTIDHandler
butFailover()
returns an error if the flavor is set to MariaDB.I think we should remove this unless there is a good use case for this that warrants keeping this and refactoring this completely.
Related