fix leveldb version of org.apache.activemq.bugs.AMQ2870Test#testSize

This commit is contained in:
gtully 2014-01-07 16:54:18 +00:00
parent f92d45bec1
commit 0f0c0d676a
1 changed files with 3 additions and 1 deletions

View File

@ -777,8 +777,10 @@ class DBManager(val parent:LevelDBStore) {
} }
def removeSubscription(sub:DurableSubscription) { def removeSubscription(sub:DurableSubscription) {
writeExecutor.sync {
client.removeCollection(sub.subKey) client.removeCollection(sub.subKey)
} }
}
def createTopicStore(dest:ActiveMQTopic) = { def createTopicStore(dest:ActiveMQTopic) = {
var key = createCollection(utf8(dest.getQualifiedName), TOPIC_COLLECTION_TYPE) var key = createCollection(utf8(dest.getQualifiedName), TOPIC_COLLECTION_TYPE)