activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r1132982 - /activemq/activemq-apollo/trunk/apollo-bdb/src/main/scala/org/apache/activemq/apollo/broker/store/bdb/BDBClient.scala
Date Tue, 07 Jun 2011 12:45:19 GMT
Author: chirino
Date: Tue Jun  7 12:45:19 2011
New Revision: 1132982

URL: http://svn.apache.org/viewvc?rev=1132982&view=rev
Log:
Make sure we delete the queue entries when the queue is deleted.

Modified:
    activemq/activemq-apollo/trunk/apollo-bdb/src/main/scala/org/apache/activemq/apollo/broker/store/bdb/BDBClient.scala

Modified: activemq/activemq-apollo/trunk/apollo-bdb/src/main/scala/org/apache/activemq/apollo/broker/store/bdb/BDBClient.scala
URL: http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-bdb/src/main/scala/org/apache/activemq/apollo/broker/store/bdb/BDBClient.scala?rev=1132982&r1=1132981&r2=1132982&view=diff
==============================================================================
--- activemq/activemq-apollo/trunk/apollo-bdb/src/main/scala/org/apache/activemq/apollo/broker/store/bdb/BDBClient.scala
(original)
+++ activemq/activemq-apollo/trunk/apollo-bdb/src/main/scala/org/apache/activemq/apollo/broker/store/bdb/BDBClient.scala
Tue Jun  7 12:45:19 2011
@@ -301,6 +301,7 @@ class BDBClient(store: BDBStore) {
         val current_key:(Long,Long)=key
         if( current_key._1 == queue_key ) {
           val queueEntry:QueueEntryRecord = value
+          entries_db.delete(tx, key)
           decrement_message_reference(ctx, queueEntry.message_key)
           true // keep cursoring..
         } else {



Mime
View raw message