chusiang / mysql-master-master

Automatically exported from code.google.com/p/mysql-master-master
GNU General Public License v2.0
1 stars 1 forks source link

Blocking new connections during moving role #52

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I think it is useful to do blocking new connections with iptables -A INPUT 
--dport 3306 --state NEW -j REJECT.

In this case we could wait until the end of current sessions instead kill them, 
then set read-only and move role's ip-address. So current transactions will not 
be broken.

Original issue reported on code.google.com by s.cherno...@gmail.com on 24 Dec 2010 at 1:56

GoogleCodeExporter commented 9 years ago
This is feature-request, but I cannot set correct type :(

Original comment by s.cherno...@gmail.com on 24 Dec 2010 at 1:58