-
Notifications
You must be signed in to change notification settings - Fork 166
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
mysql8 gtid #434 test intermittent rejoin failure #436
Comments
Similarly, I use the code replication-manager/cluster/srv_rejoin.go Lines 675 to 682 in 932673c
errss -> err after modification
|
I found it! https://github.com/signal18/replication-manager/blob/develop/cluster/srv_rejoin.go#L675-L682 not the code above! https://github.com/signal18/replication-manager/blob/develop/cluster/srv_rejoin.go#L684 [Before] [After] ======================= I applied and tested it and there was no problem. What does this code mean? And https://github.com/signal18/replication-manager/blob/develop/cluster/srv_rejoin.go#L376 You need to check that the code is also correct! |
Re, I think you are missing one point here . There are time when you can not rejoin the old master , and replication-manager is detecting this scenario if it's not possible to rejoin you need a full state transfert via mysqldump , restoring a backup or a snapshot to put the old master back in time before the crash of the old leader. you need to install the same server package on the replication-manager server and provide the path to the tools needed for state transfert.
|
Rejoin fails even if there is no change in DB data. |
Ok i'll give it try you say multiple times failover rejoin |
I'm testing always with 3 nodes may be it make a difference |
To explain the code when the leader is crashed , replication-manager record the position of the crash by looking show slave status on the candidate master that is still a replica at this time . It record gtid_executed and translate uuid to hash to get similar to mariadb GTID an record it in property FailoverIOGtid that is the name of the MariaDB counter part . |
yes! multiple times failover rejoin. |
You don't bother me at all , you're help is very valuable, would prefer still to get issues without images but with log files it's more easy to dig into it |
Thank you. |
Found it MySQL can print carriage return in GTID output of show slave status i 've pushed a fix and will make a new release soon , thanks again for founding this ! |
SRM - v2.2.24
MySQL8 - M-S
Test scenario
repeat the above process!
intermittent rejoin failure!
The text was updated successfully, but these errors were encountered: