From: jonas Date: December 21 2005 3:32pm Subject: bk commit into 5.0 tree (jonas:1.1976) List-Archive: http://lists.mysql.com/commits/325 Message-Id: <20051221153240.823432409FD@perch.ndb.mysql.com> Below is the list of changes that have just been committed into a local 5.0 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 1.1976 05/12/21 16:32:35 jonas@stripped +5 -0 Merge perch.ndb.mysql.com:/home/jonas/src/41-work into perch.ndb.mysql.com:/home/jonas/src/50-work ndb/src/ndbapi/ndb_cluster_connection.cpp 1.33 05/12/21 16:32:32 jonas@stripped +0 -0 Auto merged ndb/src/ndbapi/NdbRecAttr.cpp 1.24 05/12/21 16:32:32 jonas@stripped +0 -0 Auto merged ndb/src/ndbapi/NdbImpl.hpp 1.13 05/12/21 16:32:32 jonas@stripped +1 -2 Auto merged ndb/src/kernel/blocks/dblqh/DblqhMain.cpp 1.77 05/12/21 16:32:32 jonas@stripped +0 -0 Auto merged ndb/src/kernel/blocks/ERROR_codes.txt 1.15 05/12/21 16:32:32 jonas@stripped +0 -0 Auto merged # 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/50-work/RESYNC --- 1.14/ndb/src/kernel/blocks/ERROR_codes.txt 2005-12-13 11:54:39 +01:00 +++ 1.15/ndb/src/kernel/blocks/ERROR_codes.txt 2005-12-21 16:32:32 +01:00 @@ -3,7 +3,7 @@ Next NDBFS 2000 Next DBACC 3002 Next DBTUP 4013 -Next DBLQH 5042 +Next DBLQH 5043 Next DBDICT 6007 Next DBDIH 7174 Next DBTC 8037 @@ -313,6 +313,8 @@ LQH: 5026 Crash when receiving COPY_ACTIVEREQ 5027 Crash when receiving STAT_RECREQ + +5042 Crash starting node, when scan is finished on primary replica Test Crashes in handling take over ---------------------------------- --- 1.76/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp 2005-12-13 11:54:40 +01:00 +++ 1.77/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp 2005-12-21 16:32:32 +01:00 @@ -9264,6 +9264,15 @@ // completion. Signal completion through scanCompletedStatus-flag. /*---------------------------------------------------------------------------*/ scanptr.p->scanCompletedStatus = ZTRUE; + scanptr.p->scanState = ScanRecord::WAIT_LQHKEY_COPY; + if (ERROR_INSERTED(5042)) + { + CLEAR_ERROR_INSERT_VALUE; + tcConnectptr.p->copyCountWords = ~0; + signal->theData[0] = 9999; + sendSignal(numberToRef(CMVMI, scanptr.p->scanNodeId), + GSN_NDB_TAMPER, signal, 1, JBA); + } return; }//if