replication-manager icon indicating copy to clipboard operation
replication-manager copied to clipboard

GTID enable,but report No use GTID MODE

Open nigel889 opened this issue 6 years ago • 9 comments

replication-manager-cli version
Replication Manager 2.0.1 for MariaDB 10.x and MySQL 5.7 Series Full Version: 2.0.1-2-gf6c1c714 Build Time: 2018-06-22T08:23:13+0000

mysql5.7.22 : enforce_gtid_consistency = ON gtid_mode = ON

base gtid replication is ok。

but , replication-manager-cli console "Using GTID" column show No; web ALERTS show No GTID strict mode on slave xxxx:port switchover report logs : ERROR - Reset slave failed on new master, reason:Error 3081: This operation cannot be performed with running replication threads; run STOP SLAVE FOR CHANNEL '' first switchover failed.

nigel889 avatar Jun 26 '18 02:06 nigel889

Hi Nigel, I can not reproduce in 2.1 on mysql 5.7.22 at the same time i have no alert at all No GTID strict mode on slave is not show in my setup !

Could it be that you did not setup the replication in GTID mode in bootstrap?

svaroqui avatar Jun 26 '18 05:06 svaroqui

I 'm able to confirm that console display bad information we should fix when reporting MySQL GTID

svaroqui avatar Jun 26 '18 05:06 svaroqui

thx,

sorry, my db used percona5.7.22 I used vervion Version: 2.0.1-2-gf6c1c714. later I will install 2.1 test it.

nigel889 avatar Jun 26 '18 06:06 nigel889

Ok that i never tested so no need to rush testing 2.1 yet

svaroqui avatar Jun 26 '18 06:06 svaroqui

OK GTID switchover failover works on mysql 5.7 2x 3x nodes ! Moving to percona GTID that is indeed not cover by test

svaroqui avatar Jun 26 '18 06:06 svaroqui

Confirming i can reproduce the issue ! Let me fix this !

svaroqui avatar Jun 26 '18 06:06 svaroqui

thx @svaroqui . 2.0 no update yet.

nigel889 avatar Jun 28 '18 02:06 nigel889

Hi Nigel ,

Yes 2.0 is back ported but not yet push into repo

I ‘ve been silence because failback of old master after a failover may not work. I’ve get no time today to work on it but may be tomorrow will make it . i keep you posted .

Thanks for your help and time !

Tx

Le 28 juin 2018 à 04:17, nigel889 [email protected] a écrit :

thx @svaroqui https://github.com/svaroqui . 2.0 no update yet.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/signal18/replication-manager/issues/242#issuecomment-400889188, or mute the thread https://github.com/notifications/unsubscribe-auth/AC1RIEeRVlkO3byhZw03OXW496MeXmKJks5uBDyrgaJpZM4U3I3V.

Stéphane Varoqui, VP of Products Phone: +33 695-926-401, skype: svaroqui https://signal18.io/ https://signal18.io/

svaroqui avatar Jun 28 '18 05:06 svaroqui

@svaroqui thx it's work fine.

nigel889 avatar Jul 10 '18 09:07 nigel889