Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-3392

Scale down would fail if target queue's id greater than max int

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.17.0
    • 2.18.0
    • Broker
    • None

    Description

      In org.apache.activemq.artemis.core.server.impl.ScaleDownHandler#getQueueID it treated returned queue id value as an Integer while it is a long type. This will cause problem when the queue id (generated by broker) is bigger than int max value, in which case the queueID will turn into a negative and doesn't match the real queue id. That will cause scale down to fail.

      Attachments

        Issue Links

          Activity

            People

              gaohoward Howard Gao
              gaohoward Howard Gao
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m