summaryrefslogtreecommitdiff
path: root/ndb
diff options
context:
space:
mode:
authorunknown <jonas@perch.ndb.mysql.com>2007-03-21 08:57:14 +0100
committerunknown <jonas@perch.ndb.mysql.com>2007-03-21 08:57:14 +0100
commit34a9dd6a5e1bb9a1823adc0a25a97cff42dbbd0f (patch)
tree8eeea1e618e8fcc2c512777a2660fe18793c4e2f /ndb
parent26afc93a0e4154b797adb0bcb0c85cf7f4f541e1 (diff)
downloadmariadb-git-34a9dd6a5e1bb9a1823adc0a25a97cff42dbbd0f.tar.gz
ndb - bug#27286 (5.0 version)
make sure master is sendable ndb/src/mgmsrv/MgmtSrvr.cpp: make sure master is sendable
Diffstat (limited to 'ndb')
-rw-r--r--ndb/src/mgmsrv/MgmtSrvr.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/ndb/src/mgmsrv/MgmtSrvr.cpp b/ndb/src/mgmsrv/MgmtSrvr.cpp
index 5c4a5ef7d17..cad299e5386 100644
--- a/ndb/src/mgmsrv/MgmtSrvr.cpp
+++ b/ndb/src/mgmsrv/MgmtSrvr.cpp
@@ -2406,6 +2406,8 @@ MgmtSrvr::startBackup(Uint32& backupId, int waitCompleted)
ndbout_c("I'm not master resending to %d", nodeId);
#endif
do_send = 1; // try again
+ if (!theFacade->get_node_alive(nodeId))
+ m_master_node = nodeId = 0;
continue;
}
event.Event = BackupEvent::BackupFailedToStart;