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

BrokerService TempUsage and StoreUsage Default Values Are Incorrect

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 5.6.0
    • Fix Version/s: 5.7.0
    • Component/s: Broker
    • Labels:
      None
    • Regression:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: