yoshinorim / mha4mysql-node

Development tree of Master High Availability Manager and tools for MySQL (MHA), Node (MySQL Server) part
http://code.google.com/p/mysql-master-ha/
GNU General Public License v2.0
398 stars 198 forks source link

Super read only support #22

Closed grypyrg closed 6 years ago

grypyrg commented 8 years ago

This adds functionality for super_read_only which is in Percona Server & MariaDB. Certain tests are done while the node might still be in read_only, this code disables the super_read_only (and enables read_only) during the tests and during the applying of relay logs.

This comes together with https://github.com/yoshinorim/mha4mysql-manager/pull/56

grypyrg commented 8 years ago

This is also a feature of MySQL 5.7

grypyrg commented 6 years ago

@yoshinorim : Would you please consider merging this PR or provide feedback about it? There has been an uptick in requests to have super_read_only support with MHA.

martinamps commented 4 years ago

This introduced a regression for older versions of MySQL which I have attempted to address here https://github.com/yoshinorim/mha4mysql-node/pull/38