List:Commits« Previous MessageNext Message »
From:jonas Date:March 14 2007 11:22am
Subject:bk commit into 5.1 tree (jonas:1.2433) BUG#27087
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-03-14 11:22:11+01:00, jonas@stripped +1 -0
  ndb - bug#27087
    Make sure not to handle API_FAILREQ if it's already handled

  storage/ndb/src/kernel/blocks/suma/Suma.cpp@stripped, 2007-03-14 11:22:09+01:00,
jonas@stripped +15 -0
    Make sure not to handle API_FAILREQ if it's already handled

# 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.53/storage/ndb/src/kernel/blocks/suma/Suma.cpp	2007-03-14 11:22:16 +01:00
+++ 1.54/storage/ndb/src/kernel/blocks/suma/Suma.cpp	2007-03-14 11:22:16 +01:00
@@ -578,6 +578,18 @@
     return;
   }
 
+  if (c_failedApiNodes.get(failedApiNode))
+  {
+    jam();
+    return;
+  }
+
+  if (!c_subscriber_nodes.get(failedApiNode))
+  {
+    jam();
+    return;
+  }
+
   c_failedApiNodes.set(failedApiNode);
   c_connected_nodes.clear(failedApiNode);
   bool found = removeSubscribersOnNode(signal, failedApiNode);
@@ -591,9 +603,12 @@
   Ptr<Gcp_record> gcp;
   for(c_gcp_list.first(gcp); !gcp.isNull(); c_gcp_list.next(gcp))
   {
+    jam();
     ack->rep.gci = gcp.p->m_gci;
     if(gcp.p->m_subscribers.get(failedApiNode))
     {
+      jam();
+      gcp.p->m_subscribers.clear(failedApiNode);
       ack->rep.senderRef = numberToRef(0, failedApiNode);
       sendSignal(SUMA_REF, GSN_SUB_GCP_COMPLETE_ACK, signal, 
 		 SubGcpCompleteAck::SignalLength, JBB);
Thread
bk commit into 5.1 tree (jonas:1.2433) BUG#27087jonas14 Mar