yangruiyou85 / mysql-master-ha

Automatically exported from code.google.com/p/mysql-master-ha
0 stars 0 forks source link

Not support for detecting poor perfomance masters #100

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Is this tool supports to detect poor performing master and then do fail-over. 
Instead of detecting dead-master.

Because, Frequently we are facing problem with Master performance degradation 
instead of completely dead

Original issue reported on code.google.com by jayaram2...@gmail.com on 20 Nov 2014 at 1:07

GoogleCodeExporter commented 9 years ago
MHA does not handle a master as dead, if the master is running, even though the 
master performance degrades. This is to prevent repeating failover and false 
alarm. For example, if there are bugs in application logic, failover won't fix 
the problem so starting failover does not make any sense.

If you want MHA to start promotion, shutdown the master instance (by an 
external script or manually). The script should be smart enough that it 
understands failover fixes the problem (i.e. hardware problem on the master 
server).

Original comment by Yoshinor...@gmail.com on 21 Nov 2014 at 9:10