You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Christian Posta (JIRA)" <ji...@apache.org> on 2013/05/14 05:39:15 UTC
[jira] [Resolved] (AMQ-4534) When using ElectingLevelDBStore cannot
delete all messages on startup
[ https://issues.apache.org/jira/browse/AMQ-4534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christian Posta resolved AMQ-4534.
----------------------------------
Resolution: Fixed
Assignee: Christian Posta
Fixed w/ r1482180
> When using ElectingLevelDBStore cannot delete all messages on startup
> ---------------------------------------------------------------------
>
> Key: AMQ-4534
> URL: https://issues.apache.org/jira/browse/AMQ-4534
> Project: ActiveMQ
> Issue Type: Bug
> Components: activemq-leveldb-store
> Affects Versions: 5.9.0
> Reporter: Christian Posta
> Assignee: Christian Posta
> Priority: Minor
>
> Cannot call BrokerService#deleteAllMessages() nor setDeleteAllMessagesOnStartup() when using ElectingLevelDBStore... this is because the elector has not yet been run, and is null. Simple solution is override it (like a handful of other methods that are not intended to be called without having an elected master) and give it a default behavior.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira