List:Commits« Previous MessageNext Message »
From:jonas Date:July 4 2007 10:25pm
Subject:bk commit into 5.1 tree (jonas:1.2156) BUG#28445
View as plain text  
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-07-04 22:24:59+02:00, jonas@stripped +1 -0
  ndb - bug#28445 - fix a node recovery problem
    dont allow API/mysqld node to reconnect if we have not started yet (sp 8)

  storage/ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp@stripped, 2007-07-04 22:24:57+02:00,
jonas@stripped +9 -0
    done allow API/mysqld node to reconnect if we have not started yet (sp 8)

# 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/drop6

--- 1.33/storage/ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp	2007-07-04 22:25:02 +02:00
+++ 1.34/storage/ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp	2007-07-04 22:25:02 +02:00
@@ -443,6 +443,14 @@
 	   && c_error_9000_nodes_mask.get(tStartingNode)))
 #endif
     {
+      if (globalData.theStartLevel != NodeState::SL_STARTED &&
+          (getNodeInfo(tStartingNode).m_type != NodeInfo::DB &&
+           getNodeInfo(tStartingNode).m_type != NodeInfo::MGM))
+      {
+        jam();
+        goto done;
+      }
+
       globalTransporterRegistry.do_connect(tStartingNode);
       globalTransporterRegistry.setIOState(tStartingNode, HaltIO);
       
@@ -478,6 +486,7 @@
     }
   }
   
+done:  
   if (userRef != 0) {
     jam(); 
     signal->theData[0] = tStartingNode;
Thread
bk commit into 5.1 tree (jonas:1.2156) BUG#28445jonas4 Jul