From: Date: March 21 2007 8:47am Subject: bk commit into 5.1 tree (jonas:1.2443) BUG#27286 List-Archive: http://lists.mysql.com/commits/22430 X-Bug: 27286 Message-Id: <20070321074759.87D0F8388A@perch.ndb.mysql.com> Below is the list of changes that have just been committed into a local 5.1 repository of jonas. When jonas does a push these changes will be propagated to the main repository and, within 24 hours after the push, to the public repository. For information on how to access the public repository see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html ChangeSet@stripped, 2007-03-21 08:47:54+01:00, jonas@stripped +1 -0 ndb - bug#27286 make sure master node is sendable, when getting ref::NotMaster storage/ndb/src/mgmsrv/MgmtSrvr.cpp@stripped, 2007-03-21 08:47:51+01:00, jonas@stripped +4 -0 make sure master node is sendable, when getting ref::NotMaster # This is a BitKeeper patch. What follows are the unified diffs for the # set of deltas contained in the patch. The rest of the patch, the part # that BitKeeper cares about, is below these diffs. # User: jonas # Host: perch.ndb.mysql.com # Root: /home/jonas/src/51-telco-gca --- 1.117/storage/ndb/src/mgmsrv/MgmtSrvr.cpp 2007-03-21 08:47:59 +01:00 +++ 1.118/storage/ndb/src/mgmsrv/MgmtSrvr.cpp 2007-03-21 08:47:59 +01:00 @@ -2131,6 +2131,8 @@ { do_send = 1; nodeId = refToNode(ref->masterRef); + if (!theFacade->get_node_alive(nodeId)) + nodeId = 0; continue; } return ref->errorCode; @@ -2621,6 +2623,8 @@ 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;