Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-1954

Messages from store are getting deleted 2 times when the deleteAllMessagesOnStartup is enabled on the broker configuration.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.2.0
    • 5.2.0
    • Broker
    • None

    Description

      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.

      Attachments

        Activity

          People

            chirino Hiram R. Chirino
            chirino Hiram R. Chirino
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: