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

BrokerService TempUsage and StoreUsage Default Values Are Incorrect

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 5.6.0
    • 5.7.0
    • Broker
    • None
    • Regression

    Description

      Looking at the code in BrokerService.getSystemUsage(), the limits set for the TempUsage (50GB) and the StoreUsage (100GB) are incorrectly calculated:

      systemUsage.getTempUsage().setLimit(1024L * 1024 * 1000 * 50); // 50 GB                                                           
      systemUsage.getStoreUsage().setLimit(1024L * 1024 * 1000 * 100); // 100 GB
      

      They should be:

      systemUsage.getTempUsage().setLimit(1024L * 1024 * 1024 * 50); // 50 GB                                                           
      systemUsage.getStoreUsage().setLimit(1024L * 1024 * 1024 * 100); // 100 GB
      

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            ldawson7777 Lew Dawson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: