MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:Magnus Blåudd Date:September 15 2009 7:23pm
Subject:bzr commit into mysql-5.1-telco-7.0 branch (magnus.blaudd:3012)
Bug#47325
View as plain text  
#At file:///home/msvensson/mysql/bug47325/ based on revid:magnus.blaudd@strippedrip3a52yxtzogk3

 3012 Magnus Blåudd	2009-09-15
      Bug#47325 NDB Cluster Management Node core dump during shutdown
       - Crash occur because ConfigManager is freeed before all clients
         have disconnected
       - Move delete of ConfigManager to after listening socket closed and
         all clients disconnected

    modified:
      storage/ndb/src/mgmsrv/MgmtSrvr.cpp
=== modified file 'storage/ndb/src/mgmsrv/MgmtSrvr.cpp'
--- a/storage/ndb/src/mgmsrv/MgmtSrvr.cpp	2009-09-08 15:12:34 +0000
+++ b/storage/ndb/src/mgmsrv/MgmtSrvr.cpp	2009-09-15 19:21:25 +0000
@@ -757,15 +757,6 @@ MgmtSrvr::get_packed_config(ndb_mgm_node
 
 MgmtSrvr::~MgmtSrvr()
 {
-
-  /* Stop config manager */
-  if (m_config_manager != 0)
-  {
-    m_config_manager->stop();
-    delete m_config_manager;
-    m_config_manager= 0;
-  }
-
   /* Stop log level thread */
   void* res = 0;
   _isStopThread = true;
@@ -786,6 +777,14 @@ MgmtSrvr::~MgmtSrvr()
                          "continuing with shutdown anyway.");
   }
 
+  /* Stop config manager */
+  if (m_config_manager != 0)
+  {
+    m_config_manager->stop();
+    delete m_config_manager;
+    m_config_manager= 0;
+  }
+
   // Stop transporter
   if(theFacade != 0){
     theFacade->stop_instance();

Attachment: [text/bzr-bundle] bzr/magnus.blaudd@sun.com-20090915192125-8nnz87ac9yx7235j.bundle
Thread
bzr commit into mysql-5.1-telco-7.0 branch (magnus.blaudd:3012)Bug#47325Magnus Blåudd15 Sep