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

read_only variable not set correctly. #24

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
the read_only global var on the reader role nodes isn't set correctly
when change role nodes.

this is very important for mantain integrity.

only the writer node must be read_only=0

thanks for this great work!

Original issue reported on code.google.com by ufa...@gmail.com on 7 Nov 2008 at 9:00

GoogleCodeExporter commented 9 years ago
You must set read_only=1 in the my.cnf. MMM will change it to read_only=0 if 
the host
gets the writer role, and change it back, if it looses the writer role.

Original comment by m...@pascalhofmann.de on 7 Nov 2008 at 9:10

GoogleCodeExporter commented 9 years ago
ok, thanks, i didn't think about that!!

Original comment by ufa...@gmail.com on 7 Nov 2008 at 9:56