Closed GoogleCodeExporter closed 9 years ago
Hm, are you sure the flush tables with read lock was from mmmd_mon? There is
only one
flush in the whole code base, and thats in the create_snapshot utility, which
is only
used by mmm_get_dump, mmm_backup and mmm_clone.
As far as i know, the only thing that gets executed every n'th second on the
active
master is "set global read_only=0".
Original comment by m...@pascalhofmann.de
on 1 Nov 2008 at 9:25
MySQL as of 5.1.15 seems to create a global read lock when changing read_only -
even
when its OFF and should be turned OFF.
We should work around this issue in mysql_allow_write by not changing
read_only, if
it already has the correct value.
Maybe we also should change mysql_deny_write to acquire a global read lock
before
setting read_only=1 for MySQL prior to 5.1.15?
Original comment by m...@pascalhofmann.de
on 2 Nov 2008 at 9:15
Fixed in r129. Will create a new issue for Comment #2.
Original comment by m...@pascalhofmann.de
on 2 Nov 2008 at 10:11
I've opened a bug report for this issue: http://bugs.mysql.com/bug.php?id=40473
Original comment by m...@pascalhofmann.de
on 2 Nov 2008 at 10:54
Original issue reported on code.google.com by
tribu...@gmail.com
on 15 Jul 2008 at 11:39