| List: | Commits | « Previous MessageNext Message » | |
| From: | stewart | Date: | July 16 2007 5:35am |
| Subject: | [NDB patch 4/5] BUG#28804 release index operation for unique index lookup (without matching tuple) on completion of operation, not txn | ||
| View as plain text | |||
This also ensures we free TransactionBufferMemory. This would severely limit
the size of txns doing non-matching unique index lookups (as well as having
the related problem of full txn buff memory).
===== ndb/src/kernel/blocks/dbtc/DbtcMain.cpp 1.110 vs edited =====
Index: ndb-work/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp
===================================================================
--- ndb-work.orig/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp 2007-07-12 12:43:43.272645890
+1000
+++ ndb-work/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp 2007-07-12 12:43:51.161095427 +1000
@@ -12006,6 +12006,9 @@ void Dbtc::execTCKEYREF(Signal* signal)
tcIndxRef->transId[0] = tcKeyRef->transId[0];
tcIndxRef->transId[1] = tcKeyRef->transId[1];
tcIndxRef->errorCode = tcKeyRef->errorCode;
+
+ releaseIndexOperation(regApiPtr, indexOp);
+
sendSignal(regApiPtr->ndbapiBlockref,
GSN_TCINDXREF, signal, TcKeyRef::SignalLength, JBB);
return;
--
Stewart Smith
| Thread | ||
|---|---|---|
| • [NDB patch 0/5] Bug28804 Unknown error returned on a query using joins | stewart | 16 Jul |
| • [NDB patch 3/5] BUG#28804 fix ha_ndbcluster::unique_index_read to properly return error | stewart | 16 Jul |
| • [NDB patch 4/5] BUG#28804 release index operation for unique index lookup (without matching tuple) on completion of operation, not txn | stewart | 16 Jul |
| • [NDB patch 5/5] BUG#28804 Dbtc::releaseAbortResources() send returnsignal when exists. | stewart | 16 Jul |
| • Re: [NDB patch 5/5] BUG#28804 Dbtc::releaseAbortResources() sendreturnsignal when exists. | Jonas Oreland | 16 Jul |
| • [NDB patch 1/5] Test for Bug#28804 | stewart | 16 Jul |
| • Re: [NDB patch 1/5] Test for Bug#28804 | Jonas Oreland | 16 Jul |
| • [NDB patch 2/5] BUG#28804 improve NDBAPI behaviour in execute on timeout waiting for txn respones. | stewart | 16 Jul |
| • Re: [NDB patch 0/5] Bug28804 Unknown error returned on a queryusing joins | Stewart Smith | 16 Jul |
| • Re: [NDB patch 0/5] Bug28804 Unknown error returned on a query usingjoins | Jonas Oreland | 16 Jul |
