Promotion after a MySQL crash

90 views
Skip to first unread message

Yves Trudeau

unread,
Apr 2, 2013, 3:54:56 PM4/2/13
to prm-...@googlegroups.com
Hi, 
   following the discussion with Garrick in Toronto, I am trying to implement the feature that would keep the master on the same node after a crash.  Unfortunately, it seems that the failcount meta attribute is only start, it has no impacts on demote.  So, when I kill -9 mysqld, with the agent in the branch https://github.com/y-trudeau/resource-agents-prm/tree/fix_mysql_crash , mysqld restart, keeps its high master_score but, pacemaker promotes another node even though the old master still have the highest score.  I'll continue to experiment.  The MHA like feature should solve this type of problem but it would be best to also have the master restarting on the same host.

Regards,

Yves

Rui Feng

unread,
Apr 4, 2013, 10:59:46 AM4/4/13
to prm-...@googlegroups.com
Keeping master on the same node after a crash would be a great feature to have. Thank you for working towards it. 

-ray

yves

unread,
Jun 24, 2013, 8:50:01 AM6/24/13
to prm-...@googlegroups.com
Hi,
   The fix has been merged.


Regards,

Yves
Reply all
Reply to author
Forward
0 new messages