This is my own micro patch to ignore replication fail on active master.
use it if you like.
THANX!
--- daemonpatch.pm 2009-01-24 14:51:43.000000000 +0100
+++ daemon.pm 2009-01-23 18:19:44.000000000 +0100
@@ -237,6 +237,10 @@
# ONLINE -> REPLICATION_FAIL
if ($host->{state} eq 'ONLINE' && $peer->{state} eq 'ONLINE' && $host_checks->{ping} &&
$host_checks->{mysql} && !$host_checks->{rep_threads}) {
+ if ( $host_name eq GetActiveMaster() ) {
+ LogWarn("$host_name Replication Fail. Ignored in Active Master
Host");
+ next;
+ }
LogTrap("Daemon: State change($host_name): ONLINE -> REPLICATION_FAIL");
# Server is offline and has no roles
Original issue reported on code.google.com by ufa...@gmail.com on 24 Jan 2009 at 1:56
Original issue reported on code.google.com by
ufa...@gmail.com
on 24 Jan 2009 at 1:56