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-01-19 19:00:12+01:00, jonas@stripped +2 -0
Merge perch.ndb.mysql.com:/home/jonas/src/51-work
into perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb
MERGE: 1.2343.9.25
storage/ndb/src/kernel/blocks/qmgr/QmgrMain.cpp@stripped, 2007-01-19 19:00:09+01:00, jonas@stripped +0 -0
Auto merged
MERGE: 1.42.1.4
storage/ndb/src/kernel/blocks/suma/Suma.cpp@stripped, 2007-01-19 19:00:09+01:00, jonas@stripped +0 -0
Auto merged
MERGE: 1.49.1.2
# 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/mysql-5.1-new-ndb/RESYNC
--- 1.44/storage/ndb/src/kernel/blocks/qmgr/QmgrMain.cpp 2007-01-19 19:00:17 +01:00
+++ 1.45/storage/ndb/src/kernel/blocks/qmgr/QmgrMain.cpp 2007-01-19 19:00:17 +01:00
@@ -2455,7 +2455,12 @@
// ignore if api not active
if (failedNodePtr.p->phase != ZAPI_ACTIVE)
+ {
+ jam();
+ // But send to SUMA anyway...
+ sendSignal(SUMA_REF, GSN_API_FAILREQ, signal, 2, JBA);
return;
+ }
signal->theData[0] = NDB_LE_Disconnected;
signal->theData[1] = failedNodePtr.i;
--- 1.51/storage/ndb/src/kernel/blocks/suma/Suma.cpp 2007-01-19 19:00:17 +01:00
+++ 1.52/storage/ndb/src/kernel/blocks/suma/Suma.cpp 2007-01-19 19:00:17 +01:00
@@ -318,6 +318,12 @@
createSequence(signal);
DBUG_VOID_RETURN;
}//if
+
+ if (ERROR_INSERTED(13030))
+ {
+ ndbout_c("Dont start handover");
+ return;
+ }
}//if
if(startphase == 100)
@@ -563,6 +569,15 @@
Uint32 failedApiNode = signal->theData[0];
//BlockReference retRef = signal->theData[1];
+ if (c_startup.m_restart_server_node_id &&
+ c_startup.m_restart_server_node_id != RNIL)
+ {
+ jam();
+ sendSignalWithDelay(reference(), GSN_API_FAILREQ, signal,
+ 200, signal->getLength());
+ return;
+ }
+
c_failedApiNodes.set(failedApiNode);
c_connected_nodes.clear(failedApiNode);
bool found = removeSubscribersOnNode(signal, failedApiNode);
@@ -910,6 +925,20 @@
if (tCase == 8008)
{
CLEAR_ERROR_INSERT_VALUE;
+ }
+
+ if (tCase == 8009)
+ {
+ if (ERROR_INSERTED(13030))
+ {
+ CLEAR_ERROR_INSERT_VALUE;
+ sendSTTORRY(signal);
+ }
+ else
+ {
+ SET_ERROR_INSERT_VALUE(13030);
+ }
+ return;
}
}
| Thread |
|---|
| • bk commit into 5.1 tree (jonas:1.2395) | jonas | 19 Jan |