[
https://issues.apache.org/activemq/browse/AMQ-1797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=50721#action_50721
]
ying commented on AMQ-1797:
---------------------------
test latest trunk 756591
in network of broker setup( 4 pair master/slave), if I kill TopicConsumers
during processing messages and restart it, i will see "Message id ... could not
be recovered from the data store - already dispatched"
i also see "ERROR MasterBroker - Slave Failed
javax.jms.JMSException: Unmatched acknowledege: MessageAck {commandId = 62608,
responseRequired = true, ackType = 2, consumerId =
ID:host-2343-1237580790173-0:1:1:1, firstMessageId =
ID:host-2341-1237580773986-0:0:1:1:1341, lastMessageId =
ID:host-2341-1237580773986-0:0:1:1:1341, destination = topic://testTopic,
transactionId = null, messageCount = 1}; Could not find Message-ID
ID:host-2341-1237580773986-0:0:1:1:1341 in dispatched-list (start of ack)"
one pair of master/slave, the results are much better. topic consumer seems to
recover and continue processing
> persistent messages for durable subscribers are not purged from disc storage
> ----------------------------------------------------------------------------
>
> Key: AMQ-1797
> URL: https://issues.apache.org/activemq/browse/AMQ-1797
> Project: ActiveMQ
> Issue Type: Bug
> Components: Message Store
> Affects Versions: 5.1.0
> Environment: WinXP,
> java version "1.6.0_05"
> Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
> Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode, sharing)
> Reporter: Juraj Kuruc
> Assignee: Rob Davies
> Fix For: 5.3.0
>
> Attachments: activemq.xml, kaha_amq.zip,
> Storage_cleanup_Redelivery_test.zip, textMessageFile.txt,
> TopicConsumers.java, TopicProducer.java
>
>
> I have some problems with multiple durable subscribers while persistent
> delivery is used.
> Message should be deleted from disc storage (periodically) after all
> interested subscribers have received it. In case there was one durable
> subscriber everything woks just fine. However when I tested this scenerio
> with two durable subscribers on topic, the messages were never deleted (disc
> usage is continously consumed and never purged).
> Test case description:
> -using default activemq.xml configuration file from binary distribution
> -TopicConsumers.java creates two separetes durable consumers
> -textMessageFile.txt is file which text is sent by producer (place it on
> classpath)
> Result:
> -all messages there were send were also received by both subscribers
> -after more then 100k messages data directory is about 1GB.
> -restarting activemq with so big persistent storage takes very long time
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.