Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-5233

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

XMLWordPrintable

      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.

            rhn-support-jbertram Justin Bertram
            gaohoward Howard Gao
            Roman Vais Roman Vais
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: