List:Internals« Previous MessageNext Message »
From:tomas Date:January 18 2006 10:02am
Subject:bk commit into 5.1 tree (tomas:1.1962) BUG#15619
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of tomas. When tomas 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
  1.1962 06/01/18 10:02:23 tomas@stripped +1 -0
  BUG#15619

  storage/ndb/src/mgmsrv/MgmtSrvr.cpp
    1.84 06/01/18 10:02:17 tomas@stripped +10 -0
    BUG#15619

# 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:	tomas
# Host:	poseidon.ndb.mysql.com
# Root:	/home/tomas/wl2325-alcatel

--- 1.83/storage/ndb/src/mgmsrv/MgmtSrvr.cpp	2005-10-07 10:58:07 +02:00
+++ 1.84/storage/ndb/src/mgmsrv/MgmtSrvr.cpp	2006-01-18 10:02:17 +01:00
@@ -1849,6 +1849,16 @@
 	m_connect_address[id_found].s_addr= 0;
     }
     m_reserved_nodes.set(id_found);
+    if (theFacade && id_found != theFacade->ownId())
+    {
+      /**
+       * Make sure we're ready to accept connections from this node
+       */
+      theFacade->lock_mutex();
+      theFacade->doConnect(id_found);
+      theFacade->unlock_mutex();
+    }
+    
     char tmp_str[128];
     m_reserved_nodes.getText(tmp_str);
     g_eventLogger.info("Mgmt server state: nodeid %d reserved for ip %s, m_reserved_nodes
%s.",
Thread
bk commit into 5.1 tree (tomas:1.1962) BUG#15619tomas18 Jan