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-20 14:31:35+01:00, jonas@stripped +1 -0
ndb - bug#27286 (wl2325-5.0)
make sure that node is sendable...
storage/ndb/src/mgmsrv/MgmtSrvr.cpp@stripped, 2007-03-20 14:31:34+01:00,
jonas@stripped +10 -9
make sure that node is sendable...
# 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/drop5
--- 1.98/storage/ndb/src/mgmsrv/MgmtSrvr.cpp 2007-03-20 14:31:38 +01:00
+++ 1.99/storage/ndb/src/mgmsrv/MgmtSrvr.cpp 2007-03-20 14:31:38 +01:00
@@ -2331,15 +2331,6 @@
ss.lock(); // lock will be released on exit
NodeId nodeId = m_master_node;
- if (okToSendTo(nodeId, false) != 0)
- {
- bool next;
- nodeId = m_master_node = 0;
- while((next = getNextNodeId(&nodeId, NDB_MGM_NODE_TYPE_NDB)) == true &&
- okToSendTo(nodeId, false) != 0);
- if(!next)
- return NO_CONTACT_WITH_DB_NODES;
- }
SimpleSignal ssig;
BackupReq* req = CAST_PTR(BackupReq, ssig.getDataPtrSend());
@@ -2356,6 +2347,16 @@
while (1) {
if (do_send)
{
+ if (okToSendTo(nodeId, false) != 0)
+ {
+ bool next;
+ nodeId = m_master_node = 0;
+ while((next = getNextNodeId(&nodeId, NDB_MGM_NODE_TYPE_NDB)) == true &&
+ okToSendTo(nodeId, false) != 0);
+ if(!next)
+ return NO_CONTACT_WITH_DB_NODES;
+ }
+
if (ss.sendSignal(nodeId, &ssig) != SEND_OK) {
return SEND_OR_RECEIVE_FAILED;
}
| Thread |
|---|
| • bk commit into 5.1 tree (jonas:1.2123) BUG#27286 | jonas | 20 Mar |