← Back to team overview

maria-discuss team mailing list archive

semi-sync replication rpl_semi_sync_master_clients question ?

 

 HI,
    we have many groups master slave , used semi-sync are normal.
    but there a group master and slave , semi-sync status show have a
little question.

   master: 10.1.0.61    (MariaDB 10.1.22)
   slave1 : 10.1.0.62    (MariaDB 10.1.22)
   slave2:  10.1.0.63    (MariaDB 10.1.22)

three machine's semi-sync parameter:
rpl_semi_sync_master_enabled ON
rpl_semi_sync_master_timeout 10000
rpl_semi_sync_master_wait_point AFTER_COMMIT
rpl_semi_sync_slave_enabled ON


on master:  SHOW GLOBAL STATUS LIKE '%semi%' ;
*Rpl_semi_sync_master_clients 1   #  should show : 2 *
 ......

on slave1:   stop slave io_thread;
 then on master: SHOW GLOBAL STATUS LIKE '%semi%' ;
*Rpl_semi_sync_master_clients 0*

on slave1:   start slave io_thread;
on master:  SHOW GLOBAL STATUS LIKE '%semi%' ;
*Rpl_semi_sync_master_clients 1*


on slave2:   stop slave io_thread;
 then on master: SHOW GLOBAL STATUS LIKE '%semi%' ;
*Rpl_semi_sync_master_clients 0*

on slave2:   start slave io_thread;
on master:  SHOW GLOBAL STATUS LIKE '%semi%' ;
*Rpl_semi_sync_master_clients 1*


*on slave1 and slave2 , I had uninstall and reinstall semi-sync plugin, *
*still show  **Rpl_semi_sync_master_clients is 1*

I don't know where config have question? please you help, thanks

Follow ups