Author: marnie(a)apache.org
Date: 2008-07-24 04:46:22 -0400 (Thu, 24 Jul 2008)
New Revision: 2212
Modified:
store/branches/java/broker-queue-refactor/java/bdbstore/src/main/java/org/apache/qpid/server/store/berkeleydb/BDBMessageStore.java
Log:
Removed call to getOrCreateTransaction as it was leaving a hanging transaction, after
discussion with Rob.
Modified:
store/branches/java/broker-queue-refactor/java/bdbstore/src/main/java/org/apache/qpid/server/store/berkeleydb/BDBMessageStore.java
===================================================================
---
store/branches/java/broker-queue-refactor/java/bdbstore/src/main/java/org/apache/qpid/server/store/berkeleydb/BDBMessageStore.java 2008-07-23
19:00:33 UTC (rev 2211)
+++
store/branches/java/broker-queue-refactor/java/bdbstore/src/main/java/org/apache/qpid/server/store/berkeleydb/BDBMessageStore.java 2008-07-24
08:46:22 UTC (rev 2212)
@@ -1123,7 +1123,8 @@
_log.debug("public void storeMessageMetaData(StoreContext context =
" + context + ", Long messageId = "
+ messageId + ", MessageMetaData messageMetaData = " +
messageMetaData + "): called");
}
- getOrCreateTransaction(context);
+ //This call breaking tests - not sure where the txn it creates should be
committed ??
+ //getOrCreateTransaction(context);
Transaction tx = (Transaction) context.getPayload();
DatabaseEntry key = new DatabaseEntry();
EntryBinding keyBinding = TupleBinding.getPrimitiveBinding(Long.class);
Show replies by date