activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Posta (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (AMQ-4534) When using ElectingLevelDBStore cannot delete all messages on startup
Date Tue, 14 May 2013 03:39:15 GMT

     [ 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

Mime
View raw message