MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:Jonas Oreland Date:August 11 2010 9:30am
Subject:bzr commit into mysql-5.1-telco-6.3 branch (jonas:3245) Bug#55715
View as plain text  
#At file:///home/jonas/src/telco-6.3/ based on revid:jonas@stripped

 3245 Jonas Oreland	2010-08-11
      ndb - bug#55715 - don't crash on timeout in CS_PREPARE_TO_COMMIT, but simply log it once...

    modified:
      storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp
=== modified file 'storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp'
--- a/storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp	2010-02-22 13:58:23 +0000
+++ b/storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp	2010-08-11 09:30:36 +0000
@@ -6594,7 +6594,13 @@ void Dbtc::timeOutFoundLab(Signal* signa
         time_passed > (10 * ctimeOutValue))
     {
       jam();
-      systemErrorLab(signal, __LINE__);
+      ndbout_c("timeOutFoundLab trans: 0x%x 0x%x state: %u",
+               apiConnectptr.p->transid[0],
+               apiConnectptr.p->transid[1],
+               (Uint32)apiConnectptr.p->apiConnectstate);
+
+      // Reset timeout to not flood log...
+      setApiConTimer(apiConnectptr.i, 0, __LINE__);
     }//if
     break;
   }


Attachment: [text/bzr-bundle] bzr/jonas@mysql.com-20100811093036-c1h4p730hkrfy1kg.bundle
Thread
bzr commit into mysql-5.1-telco-6.3 branch (jonas:3245) Bug#55715Jonas Oreland11 Aug