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

Failover transport incorrectly handles prefetched messages

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.0.2
    • 5.1.0
    • Connector
    • None
    • Linux (Kernel 2.6), jdk 1.5.0_08

    Description

      After failover transport reconnect, if there is prefetched messages on the client, client sends invalid ack messages to the server. After that client stops receiving messages and it must be restarted.
      This happens only when there are more messages in the queue, than queue prefetch size.
      There is attached test case, which reproduces this error. Unfortunately, theres error in NetworkTestSupport.restartRemoteBroker() (after restart client cannot receive messages left in the queue). So you must use external broker an restart it manually, when the test asks you to do that. Should I report this bug in Component "Test cases"?

      Attachments

        Activity

          People

            rajdavies Robert Davies
            jurna Danielius Jurna
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: