[
https://issues.apache.org/activemq/browse/AMQ-1954?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gary Tully resolved AMQ-1954.
-----------------------------
Resolution: Fixed
> Messages from store are getting deleted 2 times when the
> deleteAllMessagesOnStartup is enabled on the broker configuration.
> ---------------------------------------------------------------------------------------------------------------------------
>
> Key: AMQ-1954
> URL: https://issues.apache.org/activemq/browse/AMQ-1954
> Project: ActiveMQ
> Issue Type: Bug
> Components: Broker
> Affects Versions: 5.2.0
> Reporter: Hiram Chirino
> Assignee: Hiram Chirino
> Fix For: 5.3.0
>
>
> I noticed this because when deleteAllMessagesOnStartup was enabled, starting
> up the JDBC store took a very long time to get started. Digging into it, I
> noticed that the slow start up was due to trying to clear out the messages
> after the database lock was aquired. Since the first delete happens before
> the store is started, and the second the delete happens after the store is
> started, the second delete is the one giving us the problems with the JDBC
> store. Going to remove that one.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.